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:
Ade Lovett 2000-08-04 01:38:56 +00:00
parent 9594f3f893
commit 9c1012c791
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31297
4 changed files with 18 additions and 0 deletions

View File

@ -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>

View File

@ -1,3 +1,6 @@
@cwd /usr/local
etc/rc.d/pilot-link.sh
@cwd /usr/local/pilot
bin/addresses
bin/ccexample
bin/debugsh

View File

@ -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>

View File

@ -1,3 +1,6 @@
@cwd /usr/local
etc/rc.d/pilot-link.sh
@cwd /usr/local/pilot
bin/addresses
bin/ccexample
bin/debugsh