summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-06-03 07:52:42 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-06-03 07:52:42 +0000
commit8eafc2822803f5ebc0ca417bfd287a1110ca0d98 (patch)
tree5895e6cda5c0074c99371c363f52239365811702 /lang
parentFix the build on 4.x by removing a ^M. (diff)
- 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
Notes
Notes: svn path=/head/; revision=136711
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; \