summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-04-21 09:29:38 +0000
committerdinoex <dinoex@FreeBSD.org>2003-04-21 09:29:38 +0000
commit3baaf76c88e5e8201ed266cbd53a0910368c4b5d (patch)
tree7c5fc72b118e20e148b8422a85766d59d6ad8809
parent5d68e310f77f9d801d8984c76037e073cd96aae4 (diff)
downloadFreeBSD-ports-3baaf76c88e5e8201ed266cbd53a0910368c4b5d.zip
FreeBSD-ports-3baaf76c88e5e8201ed266cbd53a0910368c4b5d.tar.gz
- modify sample startscript, call ldconfig so libobjc.so can be found after reboot.
-rw-r--r--lang/gnustep-base/Makefile5
-rw-r--r--lang/gnustep-base/files/GNUstep.sh1
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}
OpenPOWER on IntegriCloud