aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-06-12 02:59:44 +0800
committerdinoex <dinoex@FreeBSD.org>2012-06-12 02:59:44 +0800
commit8bd07a8ed74bd072807c1fc15cbd46cd0c721836 (patch)
tree51197cf3f90bddc79f596f91ced2b118bbcbdae7 /lang
parentf164ce5161c04ce0b1503a23eac491796fa9cc94 (diff)
downloadfreebsd-ports-gnome-8bd07a8ed74bd072807c1fc15cbd46cd0c721836.tar.gz
freebsd-ports-gnome-8bd07a8ed74bd072807c1fc15cbd46cd0c721836.tar.zst
freebsd-ports-gnome-8bd07a8ed74bd072807c1fc15cbd46cd0c721836.zip
- mark BROKEN on FreeBSD 7
Diffstat (limited to 'lang')
-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