mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- modify sample startscript, call ldconfig so libobjc.so can be found after reboot.
This commit is contained in:
parent
4a3e5afac6
commit
dc65a5af1e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79402
@ -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:
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user