Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2012 12:02:30 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303277 - head/lang/sdcc
Message-ID:  <201208281202.q7SC2UeK063734@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Tue Aug 28 12:02:30 2012
New Revision: 303277
URL: http://svn.freebsd.org/changeset/ports/303277

Log:
  - Unbreak on ARCH != i386
  - Change CONFLICTS
  
  Submitted by:	Tijl Coosemans <tijl@coosemans.org> (maintainer, via email)
  Approved by:	crees (mentor)

Modified:
  head/lang/sdcc/Makefile

Modified: head/lang/sdcc/Makefile
==============================================================================
--- head/lang/sdcc/Makefile	Tue Aug 28 11:59:47 2012	(r303276)
+++ head/lang/sdcc/Makefile	Tue Aug 28 12:02:30 2012	(r303277)
@@ -8,6 +8,7 @@
 PORTNAME=	sdcc
 PORTVERSION=	3.2.0
 DISTVERSIONPREFIX=	src-
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	SF
 
@@ -18,7 +19,7 @@ LICENSE=	GPLv2
 
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/graph/adjacency_list.hpp:${PORTSDIR}/devel/boost-libs
 
-CONFLICTS=	sdcc-3.1.*
+CONFLICTS=	sdcc-[0-9]*
 GNU_CONFIGURE=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
@@ -34,15 +35,16 @@ Z80_DESC=	Zilog Z80/Z180/GBZ80, Rabbit 2
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ARGS= --disable-avr --disable-install-libbfd --enable-new-pics
+CONFIGURE_ARGS= --disable-avr --disable-install-libbfd
 CONFIGURE_ENV=	ARCH=""
 WRKSRC= 	${WRKDIR}/sdcc
 
-ONLY_FOR_ARCHS=	i386
-ONLY_FOR_ARCHS_REASON=	Project only supports FreeBSD on i386
-
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "amd64"
+CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
+.endif
+
 .if ${PORT_OPTIONS:MDEVLIB}
 PLIST_SUB+=	DEVLIB=""
 .else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208281202.q7SC2UeK063734>