diff options
author | dinoex <dinoex@FreeBSD.org> | 2011-11-06 15:40:58 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2011-11-06 15:40:58 +0800 |
commit | e5dc8690b5759b706774c3e5f1e3c71c5aa46adb (patch) | |
tree | 2704b3bd292683ef7b8fe876ec356d82547e760c | |
parent | 49850ea6e83a88a6d783d1a1b83217529cedbca9 (diff) | |
download | freebsd-ports-gnome-e5dc8690b5759b706774c3e5f1e3c71c5aa46adb.tar.gz freebsd-ports-gnome-e5dc8690b5759b706774c3e5f1e3c71c5aa46adb.tar.zst freebsd-ports-gnome-e5dc8690b5759b706774c3e5f1e3c71c5aa46adb.zip |
- fix build for FreeBSD-9
by defaulting to GNUSTEP_WITH_GCC42
-rw-r--r-- | Mk/bsd.gnustep.mk | 6 |
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 |