aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-01-17 02:55:36 +0800
committerdinoex <dinoex@FreeBSD.org>2012-01-17 02:55:36 +0800
commit31d11cd6a3a9fa16d3cb91253912f9a7897c4696 (patch)
tree90f8d84958c1c0c56fa6f1d303e208ba4c333fd4
parent875a5099591f2d35c7e562c58bf8c8c22cb7c709 (diff)
downloadfreebsd-ports-gnome-31d11cd6a3a9fa16d3cb91253912f9a7897c4696.tar.gz
freebsd-ports-gnome-31d11cd6a3a9fa16d3cb91253912f9a7897c4696.tar.zst
freebsd-ports-gnome-31d11cd6a3a9fa16d3cb91253912f9a7897c4696.zip
- force OSVERSION for pointyhat
-rw-r--r--Mk/bsd.gnustep.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk
index e5cabce3ecd0..fe9e78ca5f94 100644
--- a/Mk/bsd.gnustep.mk
+++ b/Mk/bsd.gnustep.mk
@@ -196,7 +196,12 @@ 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_GCC46) && !defined(GNUSTEP_WITH_BASE_GCC)
-.if !exists(${DESTDIR}/usr/lib/libobjc.so)
+.if defined(PACKAGE_BUILDING)
+.if ${OSVERSION} > 900035
+GNUSTEP_WITH_GCC42=yes
+.endif
+.endif
+.if !exists(${DESTDIR}/usr/lib/libobjc.so)
GNUSTEP_WITH_GCC42=yes
.endif
.endif