diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-04-21 09:29:38 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-04-21 09:29:38 +0000 |
commit | 3baaf76c88e5e8201ed266cbd53a0910368c4b5d (patch) | |
tree | 7c5fc72b118e20e148b8422a85766d59d6ad8809 /lang | |
parent | 5d68e310f77f9d801d8984c76037e073cd96aae4 (diff) | |
download | FreeBSD-ports-3baaf76c88e5e8201ed266cbd53a0910368c4b5d.zip FreeBSD-ports-3baaf76c88e5e8201ed266cbd53a0910368c4b5d.tar.gz |
- modify sample startscript, call ldconfig so libobjc.so can be found after reboot.
Diffstat (limited to 'lang')
-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} |