aboutsummaryrefslogtreecommitdiff
path: root/lang/gnustep-base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gnustep-base/Makefile')
-rw-r--r--lang/gnustep-base/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile
index 52706c488899..3c9c04c811cb 100644
--- a/lang/gnustep-base/Makefile
+++ b/lang/gnustep-base/Makefile
@@ -63,12 +63,14 @@ EXTRA_PATCHES+= ${FILESDIR}/NSFileManager.m.patch
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900036
+.if defined(GNUSTEP_WITH_BASE_GCC)
IGNORE= needs an objective C compiler
.endif
+.endif
-.if defined(GNUSTEP_WITH_LIBOBJC2)
-LIB_DEPENDS+= objc:${PORTSDIR}/${PKGCATEGORY}/gnustep-libobjc
-CFLAGS+= -I${GNUSTEP_SYSTEM_ROOT}/Library/Headers -DOBJC2RUNTIME=1
+.if defined(GNUSTEP_WITH_LIBOBJC2) || defined(GNUSTEP_WITH_CLANG)
+LIB_DEPENDS+= objc:${PORTSDIR}/${PKGCATEGORY}/libobjc2
+CFLAGS+= -I${LOCALBASE}/include -DOBJC2RUNTIME=1
.endif
PATH:= ${PREFIX}/System/Tools:${PATH}