summaryrefslogtreecommitdiff
path: root/lang/gnustep-base
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-01-11 14:22:44 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-01-11 14:22:44 +0000
commitd26fb14bb7b1b7031046daa5461753e54bf1911d (patch)
treed0a75dd3b3dfbc06974d73363d58a406da814e84 /lang/gnustep-base
parentrenamed ncurses-dialog to cdialog in devel (diff)
- Improve depends
1) needs ffcall to build. 2) gnustep-objc is only for 4.x systems Suggested by: jagapen@students.wisc.edu
Notes
Notes: svn path=/head/; revision=72904
Diffstat (limited to 'lang/gnustep-base')
-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 7ba7a3eb167a..a6f5e30850bd 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}