summaryrefslogtreecommitdiff
path: root/lang/gnustep-base
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-08-20 06:46:35 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-08-20 06:46:35 +0000
commit94397a6b5ccb74a41fcb0746a3ccc607b3cf8b8e (patch)
treeb2c8e2b95b2b9b9ef5b0bf68c8c0a2522053b656 /lang/gnustep-base
parentUpdate to 0.2.0. (diff)
- fix build with gcc42
Notes
Notes: svn path=/head/; revision=259611
Diffstat (limited to 'lang/gnustep-base')
-rw-r--r--lang/gnustep-base/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile
index a34af4907812..455a5d5443a1 100644
--- a/lang/gnustep-base/Makefile
+++ b/lang/gnustep-base/Makefile
@@ -8,9 +8,10 @@
PORTNAME= gnustep-base
.if defined(WITH_GNUSTEP_DEVEL)
PORTVERSION= 1.21.1
+PORTREVISION= 1
.else
PORTVERSION= 1.19.3
-PORTREVISION= 2
+PORTREVISION= 3
.endif
CATEGORIES= lang devel gnustep
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
@@ -19,6 +20,7 @@ MASTER_SITE_SUBDIR= core
MAINTAINER= dinoex@FreeBSD.org
COMMENT= GNUstep Foundation library
+LIB_DEPENDS+= ffi.5:${PORTSDIR}/devel/libffi
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp
@@ -42,7 +44,7 @@ USE_ICONV= yes
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
MAKE_ENV+= GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
-CFLAGS+= -I${LOCALBASE}/include/libxml2/libxml
+CFLAGS+= -I${LOCALBASE}/include/libxml2/libxml -DHAVE_DLADDR=1
BREAKS_IF_PEDANTIC= yes
PLIST_SUB+= LOCALBASE=${LOCALBASE}
ETCDIR= ${LOCALBASE}/etc
@@ -56,12 +58,6 @@ EXTRA_PATCHES+= ${FILESDIR}/NSFileManager.m.patch
.include <bsd.port.pre.mk>
-.if defined(GNUSTEP_WITH_GCC42)
-.if (${ARCH} == i386) || (${ARCH} == amd64)
-BROKEN= Does not build with gcc42
-.endif
-.endif
-
PATH:= ${PREFIX}/System/Tools:${PATH}
post-build: