summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-01-11 14:22:44 +0000
committerdinoex <dinoex@FreeBSD.org>2003-01-11 14:22:44 +0000
commit35fb581a02903da6312f7657cca30a600c40036b (patch)
tree68f33f7047eae1f3f5e4e74f695d51ddbd970555 /lang
parentd1db8888770eb59358cd03a921123b1b1521d147 (diff)
downloadFreeBSD-ports-35fb581a02903da6312f7657cca30a600c40036b.zip
FreeBSD-ports-35fb581a02903da6312f7657cca30a600c40036b.tar.gz
- Improve depends
1) needs ffcall to build. 2) gnustep-objc is only for 4.x systems Suggested by: jagapen@students.wisc.edu
Diffstat (limited to 'lang')
-rw-r--r--lang/gnustep-base/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile
index 7ba7a3e..a6f5e30 100644
--- a/lang/gnustep-base/Makefile
+++ b/lang/gnustep-base/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnustep-base
PORTVERSION= 1.5.1
+PORTREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_GNUSTEP} \
ftp://ftp.gnustep.org/pub/gnustep/%SUBDIR%/ \
@@ -16,9 +17,8 @@ MASTER_SITE_SUBDIR= core
MAINTAINER= dinoex@FreeBSD.org
-BUILD_DEPENDS= ${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc
+BUILD_DEPENDS= ${LOCALBASE}/lib/libcallback.a:${PORTSDIR}/devel/ffcall
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
-RUN_DEPENDS= ${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc
BREAKS_IF_PEDANTIC= yes
@@ -27,6 +27,10 @@ BREAKS_IF_PEDANTIC= yes
.if ${OSVERSION} < 300000
BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x"
.endif
+.if ${OSVERSION} < 500000
+BUILD_DEPENDS+= ${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc
+RUN_DEPENDS+= ${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc
+.endif
PREFIX= ${LOCALBASE}/GNUstep
PLIST_SUB+= LOCALBASE=${LOCALBASE}
OpenPOWER on IntegriCloud