Add an etc/rc.d startup file to ldconfig the pilot-link
libraries at system reboot, since they're installed in a non-standard place.
This commit is contained in:
parent
9594f3f893
commit
9c1012c791
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31297
@ -28,4 +28,10 @@ MAN1= dlpsh.1 ietf2datebook.1 install-datebook.1 \
|
||||
pilot-xfer.1 read-ical.1
|
||||
MAN7= pilot-link.7
|
||||
|
||||
post-install:
|
||||
@${ECHO} "#!/bin/sh" > ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
||||
@${ECHO} "" >> ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
||||
@${ECHO} "${LDCONFIG} -m ${PREFIX}/lib" >> ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
||||
@${CHMOD} 750 ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,6 @@
|
||||
@cwd /usr/local
|
||||
etc/rc.d/pilot-link.sh
|
||||
@cwd /usr/local/pilot
|
||||
bin/addresses
|
||||
bin/ccexample
|
||||
bin/debugsh
|
||||
|
@ -28,4 +28,10 @@ MAN1= dlpsh.1 ietf2datebook.1 install-datebook.1 \
|
||||
pilot-xfer.1 read-ical.1
|
||||
MAN7= pilot-link.7
|
||||
|
||||
post-install:
|
||||
@${ECHO} "#!/bin/sh" > ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
||||
@${ECHO} "" >> ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
||||
@${ECHO} "${LDCONFIG} -m ${PREFIX}/lib" >> ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
||||
@${CHMOD} 750 ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,6 @@
|
||||
@cwd /usr/local
|
||||
etc/rc.d/pilot-link.sh
|
||||
@cwd /usr/local/pilot
|
||||
bin/addresses
|
||||
bin/ccexample
|
||||
bin/debugsh
|
||||
|
Loading…
Reference in New Issue
Block a user