diff options
author | madpilot <madpilot@FreeBSD.org> | 2012-08-28 20:02:30 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2012-08-28 20:02:30 +0800 |
commit | a596bdf87d733c0f443e834f05a3f72967b806f0 (patch) | |
tree | a63dd69346ec47fb47c9d9bb38aa67c94ace02c5 /lang | |
parent | cca4c602bdc6322f050ae674b1b27a2cd946364c (diff) | |
download | freebsd-ports-gnome-a596bdf87d733c0f443e834f05a3f72967b806f0.tar.gz freebsd-ports-gnome-a596bdf87d733c0f443e834f05a3f72967b806f0.tar.zst freebsd-ports-gnome-a596bdf87d733c0f443e834f05a3f72967b806f0.zip |
- Unbreak on ARCH != i386
- Change CONFLICTS
Submitted by: Tijl Coosemans <tijl@coosemans.org> (maintainer, via email)
Approved by: crees (mentor)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sdcc/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lang/sdcc/Makefile b/lang/sdcc/Makefile index df124f733b22..3c72db132b96 100644 --- a/lang/sdcc/Makefile +++ b/lang/sdcc/Makefile @@ -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 2000/3000/3000A 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 |