aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.gnustep.mk
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2011-11-06 07:40:58 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2011-11-06 07:40:58 +0000
commita19097f1344e63d3ded1355b95437f5699039900 (patch)
tree134e4ce2b45f719f1173e410c9cb718a81e9036a /Mk/bsd.gnustep.mk
parent5b902f74f5bcca24c38b5ddd306862acf053af5e (diff)
downloadports-a19097f1344e63d3ded1355b95437f5699039900.tar.gz
ports-a19097f1344e63d3ded1355b95437f5699039900.zip
Notes
Diffstat (limited to 'Mk/bsd.gnustep.mk')
-rw-r--r--Mk/bsd.gnustep.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk
index 415bddec7a8e..270665807eb3 100644
--- a/Mk/bsd.gnustep.mk
+++ b/Mk/bsd.gnustep.mk
@@ -189,6 +189,12 @@ PLIST_SUB+= MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1}
PLIST_SUB+= LIBVERSION=${DEFAULT_LIBVERSION}
PLIST_SUB+= MAJORLIBVERSION=${DEFAULT_LIBVERSION:C/([0-9]).*/\1/1}
+.if !defined(GNUSTEP_WITH_GCC34) && !defined(GNUSTEP_WITH_GCC42) && !defined(GNUSTEP_WITH_BASE_GCC)
+.if !exists(${DESTDIR}/usr/lib/libobjc.so)
+GNUSTEP_WITH_GCC42=yes
+.endif
+.endif
+
.if defined(GNUSTEP_WITH_GCC34) || defined(GNUSTEP_WITH_GCC42)
.if defined(GNUSTEP_WITH_GCC34)
GCCSUFFIX=34