aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-06-03 15:52:42 +0800
committerdinoex <dinoex@FreeBSD.org>2005-06-03 15:52:42 +0800
commit34b0cc21ea2a1116a9cd9b4b10523fcdd19ce0aa (patch)
tree31fc62c423c7bbd1922b07dd8906cd59da731876 /lang
parent18706049a02f68b9ebc53ad354f80db5bb85ba6d (diff)
downloadfreebsd-ports-gnome-34b0cc21ea2a1116a9cd9b4b10523fcdd19ce0aa.tar.gz
freebsd-ports-gnome-34b0cc21ea2a1116a9cd9b4b10523fcdd19ce0aa.tar.zst
freebsd-ports-gnome-34b0cc21ea2a1116a9cd9b4b10523fcdd19ce0aa.zip
- new option WITH_GNUSTEP_FAKEMAIN to work without procfs
- call ldconfig in configure stage again this workarounds a problem that ldconfig is called to early when addding a package like: gcc-objc-current-3.3.6_20050511.tgz
Diffstat (limited to 'lang')
-rw-r--r--lang/gnustep-base/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile
index 53c2036b73e1..11a5a678e829 100644
--- a/lang/gnustep-base/Makefile
+++ b/lang/gnustep-base/Makefile
@@ -48,6 +48,10 @@ MAKE_APPS= SSL
INSTALL_APPS= SSL
.endif
+.if defined(WITH_GNUSTEP_FAKEMAIN)
+CONFIGURE_ARGS+= --enable-fake-main
+.endif
+
PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1}
EXTRA_PATCHES+= ${FILESDIR}/NSFileManager.m.patch
@@ -55,6 +59,11 @@ EXTRA_PATCHES+= ${FILESDIR}/NSFileManager.m.patch
PATH:= ${PREFIX}/System/Tools:${PATH}
+.if !defined(GNUSTEP_WITH_BASE_GCC)
+pre-configure:
+ ${LDCONFIG} -m ${TARGLIB}
+.endif
+
post-build:
.for i in ${MAKE_APPS}
(cd ${WRKSRC}/${i}; . ${SYSMAKEDIR}/GNUstep.sh; \