diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-04-21 17:29:38 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-04-21 17:29:38 +0800 |
commit | 3baaf76c88e5e8201ed266cbd53a0910368c4b5d (patch) | |
tree | 7c5fc72b118e20e148b8422a85766d59d6ad8809 | |
parent | 5d68e310f77f9d801d8984c76037e073cd96aae4 (diff) | |
download | freebsd-ports-gnome-3baaf76c88e5e8201ed266cbd53a0910368c4b5d.tar.gz freebsd-ports-gnome-3baaf76c88e5e8201ed266cbd53a0910368c4b5d.tar.zst freebsd-ports-gnome-3baaf76c88e5e8201ed266cbd53a0910368c4b5d.zip |
- modify sample startscript, call ldconfig so libobjc.so can be found after reboot.
-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 7d9aecb09f9e..6ffc39bf46c6 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 b5672dec2f4e..e5905d124e99 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} |