summaryrefslogtreecommitdiff
path: root/devel/gnustep-base
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2005-11-28 22:12:24 +0000
committerrh <rh@pkgsrc.org>2005-11-28 22:12:24 +0000
commit88735769a084e1c1806d73e2156806fb116141d2 (patch)
tree53be5c58ed2387c354d59ff9d2ca08b13785731a /devel/gnustep-base
parenta5d4be0f5ad260c402262ae61fc678d0736fa9b8 (diff)
downloadpkgsrc-88735769a084e1c1806d73e2156806fb116141d2.tar.gz
Require gnustep-objc on platforms where /usr/include/objc/objc.h does not
exist.
Diffstat (limited to 'devel/gnustep-base')
-rw-r--r--devel/gnustep-base/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/gnustep-base/Makefile b/devel/gnustep-base/Makefile
index 90debca1122..ebb3000a563 100644
--- a/devel/gnustep-base/Makefile
+++ b/devel/gnustep-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2005/09/30 23:13:57 rh Exp $
+# $NetBSD: Makefile,v 1.27 2005/11/28 22:12:24 rh Exp $
DISTNAME= gnustep-base-1.11.1
CATEGORIES= devel gnustep
@@ -26,7 +26,7 @@ post-install:
.include "../../mk/compiler.mk"
-.if empty(CC_VERSION:Mgcc-3*)
+.if empty(CC_VERSION:Mgcc-3*) || !exists(/usr/include/objc/objc.h)
.include "../../devel/gnustep-objc/buildlink3.mk"
.endif