- 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
This commit is contained in:
Dirk Meyer 2005-06-03 07:52:42 +00:00
parent f98d2972df
commit 8eafc28228
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136711

View file

@ -48,6 +48,10 @@ MAKE_APPS= SSL
INSTALL_APPS= SSL INSTALL_APPS= SSL
.endif .endif
.if defined(WITH_GNUSTEP_FAKEMAIN)
CONFIGURE_ARGS+= --enable-fake-main
.endif
PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1} PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1}
EXTRA_PATCHES+= ${FILESDIR}/NSFileManager.m.patch EXTRA_PATCHES+= ${FILESDIR}/NSFileManager.m.patch
@ -55,6 +59,11 @@ EXTRA_PATCHES+= ${FILESDIR}/NSFileManager.m.patch
PATH:= ${PREFIX}/System/Tools:${PATH} PATH:= ${PREFIX}/System/Tools:${PATH}
.if !defined(GNUSTEP_WITH_BASE_GCC)
pre-configure:
${LDCONFIG} -m ${TARGLIB}
.endif
post-build: post-build:
.for i in ${MAKE_APPS} .for i in ${MAKE_APPS}
(cd ${WRKSRC}/${i}; . ${SYSMAKEDIR}/GNUstep.sh; \ (cd ${WRKSRC}/${i}; . ${SYSMAKEDIR}/GNUstep.sh; \