aboutsummaryrefslogtreecommitdiff
path: root/lang/gnustep-base
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-11 18:59:44 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-11 18:59:44 +0000
commit83a739b1c2504c1d7fc6bff22ed731eccf3f5658 (patch)
treefe706f106a22940667bbd877c4626e4ee72d3504 /lang/gnustep-base
parent7d5fdb81a2ab5d41f15cf3ab191716abb482df1a (diff)
downloadports-83a739b1c2504c1d7fc6bff22ed731eccf3f5658.tar.gz
ports-83a739b1c2504c1d7fc6bff22ed731eccf3f5658.zip
- mark BROKEN on FreeBSD 7
Notes
Notes: svn path=/head/; revision=299069
Diffstat (limited to 'lang/gnustep-base')
-rw-r--r--lang/gnustep-base/Makefile10
-rw-r--r--lang/gnustep-base/pkg-plist12
2 files changed, 15 insertions, 7 deletions
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile
index ebf1612770dc..9e87d7fd9bc9 100644
--- a/lang/gnustep-base/Makefile
+++ b/lang/gnustep-base/Makefile
@@ -53,15 +53,23 @@ EXTRA_PATCHES+= ${FILESDIR}/NSFileManager.m.patch
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 900036
+.if !defined(GNUSTEP_WITH_CLANG)
.if defined(GNUSTEP_WITH_BASE_GCC)
+.if ${OSVERSION} < 800000
+IGNORE= does not build on FreeBSD 7
+.endif
+.if ${OSVERSION} >= 900036
IGNORE= needs an objective C compiler
.endif
.endif
+.endif
.if defined(GNUSTEP_WITH_LIBOBJC2) || defined(GNUSTEP_WITH_CLANG)
LIB_DEPENDS+= objc:${PORTSDIR}/${PKGCATEGORY}/libobjc2
CFLAGS+= -I${LOCALBASE}/include -DOBJC2RUNTIME=1
+PLIST_SUB+= WITH_LIB1="@comment "
+.else
+PLIST_SUB+= WITH_LIB1=""
.endif
PATH:= ${PREFIX}/System/Tools:${PATH}
diff --git a/lang/gnustep-base/pkg-plist b/lang/gnustep-base/pkg-plist
index 2a9477d62ccf..d294e366c9a7 100644
--- a/lang/gnustep-base/pkg-plist
+++ b/lang/gnustep-base/pkg-plist
@@ -166,10 +166,10 @@ GNUstep/System/Library/Headers/GNUstepBase/NSTask+GNUstepBase.h
GNUstep/System/Library/Headers/GNUstepBase/NSThread+GNUstepBase.h
GNUstep/System/Library/Headers/GNUstepBase/NSURL+GNUstepBase.h
GNUstep/System/Library/Headers/GNUstepBase/Unicode.h
-GNUstep/System/Library/Headers/ObjectiveC2/objc/Availability.h
-GNUstep/System/Library/Headers/ObjectiveC2/objc/blocks_runtime.h
-GNUstep/System/Library/Headers/ObjectiveC2/objc/capabilities.h
-GNUstep/System/Library/Headers/ObjectiveC2/objc/runtime.h
+%%WITH_LIB1%%GNUstep/System/Library/Headers/ObjectiveC2/objc/Availability.h
+%%WITH_LIB1%%GNUstep/System/Library/Headers/ObjectiveC2/objc/blocks_runtime.h
+%%WITH_LIB1%%GNUstep/System/Library/Headers/ObjectiveC2/objc/capabilities.h
+%%WITH_LIB1%%GNUstep/System/Library/Headers/ObjectiveC2/objc/runtime.h
GNUstep/System/Library/Headers/gnustep/unicode/caseconv.h
GNUstep/System/Library/Headers/gnustep/unicode/cop.h
GNUstep/System/Library/Headers/gnustep/unicode/cyrillic.h
@@ -880,8 +880,8 @@ etc/rc.d/GNUstep.sh
@dirrm GNUstep/System/Library/Headers/gnustep/unicode
@dirrm GNUstep/System/Library/Headers/gnustep/base
@dirrm GNUstep/System/Library/Headers/gnustep
-@dirrm GNUstep/System/Library/Headers/ObjectiveC2/objc
-@dirrm GNUstep/System/Library/Headers/ObjectiveC2
+%%WITH_LIB1%%@dirrm GNUstep/System/Library/Headers/ObjectiveC2/objc
+%%WITH_LIB1%%@dirrm GNUstep/System/Library/Headers/ObjectiveC2
@dirrm GNUstep/System/Library/Headers/GNUstepBase/unicode
@dirrm GNUstep/System/Library/Headers/GNUstepBase
@dirrm GNUstep/System/Library/Headers/Foundation