diff options
-rw-r--r-- | lang/gnustep-base/Makefile | 5 | ||||
-rw-r--r-- | lang/gnustep-base/files/GNUstep.sh | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile index 7d9aecb..6ffc39b 100644 --- a/lang/gnustep-base/Makefile +++ b/lang/gnustep-base/Makefile @@ -41,8 +41,11 @@ USE_GNUSTEP_BUILD= yes USE_GNUSTEP_INSTALL= yes .include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk" +TARGLIB!= (cd ${PORTSDIR}/${GNUSTEP_OBJC_PORT} && make -V TARGLIB) + post-extract: - @${SED} -e "s=%%PREFIX%%=${LOCALBASE}=" ${FILESDIR}/GNUstep.sh \ + @${SED} -e "s=%%PREFIX%%=${LOCALBASE}=" \ + -e "s=%%TARGLIB%%=${TARGLIB}=" ${FILESDIR}/GNUstep.sh \ > ${WRKSRC}/GNUstep.sh post-install: diff --git a/lang/gnustep-base/files/GNUstep.sh b/lang/gnustep-base/files/GNUstep.sh index b5672de..e5905d1 100644 --- a/lang/gnustep-base/files/GNUstep.sh +++ b/lang/gnustep-base/files/GNUstep.sh @@ -8,6 +8,7 @@ GNUSTEP_SYSTEM_ROOT="${PREFIX}/GNUstep/System" case "$1" in start) if [ -e ${GNUSTEP_SYSTEM_ROOT}/Makefiles/GNUstep.sh ]; then + ldconfig -m %%TARGLIB%% . ${GNUSTEP_SYSTEM_ROOT}/Makefiles/GNUstep.sh rm -f ${PIDFILE} opentool gdomap -a ${IFFILE} -I ${PIDFILE} |