- add RC_D_SH to keep shared libs working after reboot

This commit is contained in:
Dirk Meyer 2006-03-26 05:16:44 +00:00
parent c7ad79395c
commit 989fbabdf9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158130
30 changed files with 190 additions and 0 deletions

View file

@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -149,6 +152,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

14
lang/gcc/files/gcc.sh.in Normal file
View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
include/omp.h
info/gcc%%SUFFIX%%/dir
%%FORTRAN%%bin/gfortran%%SUFFIX%%

View file

@ -57,6 +57,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap-lean
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -90,6 +93,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,5 +9,6 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
info/gcc%%SUFFIX%%/dir
@comment Insert PLIST.lib here

View file

@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap-lean
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -146,6 +149,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
info/gcc%%SUFFIX%%/dir
%%FORTRAN%%bin/gfortran%%SUFFIX%%
%%FORTRAN%%bin/%%GNU_HOST%%-gfortran%%SUFFIX%%

View file

@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -149,6 +152,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
include/omp.h
info/gcc%%SUFFIX%%/dir
%%FORTRAN%%bin/gfortran%%SUFFIX%%

View file

@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -149,6 +152,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
include/omp.h
info/gcc%%SUFFIX%%/dir
%%FORTRAN%%bin/gfortran%%SUFFIX%%

View file

@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -149,6 +152,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
include/omp.h
info/gcc%%SUFFIX%%/dir
%%FORTRAN%%bin/gfortran%%SUFFIX%%

View file

@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -149,6 +152,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
include/omp.h
info/gcc%%SUFFIX%%/dir
%%FORTRAN%%bin/gfortran%%SUFFIX%%

View file

@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -149,6 +152,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
include/omp.h
info/gcc%%SUFFIX%%/dir
%%FORTRAN%%bin/gfortran%%SUFFIX%%

View file

@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -149,6 +152,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
include/omp.h
info/gcc%%SUFFIX%%/dir
%%FORTRAN%%bin/gfortran%%SUFFIX%%

View file

@ -76,6 +76,9 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${TARGLIB}
SUB_LIST= TARGLIB="${TARGLIB}"
SUB_FILES= gcc.sh
RC_D_SH= etc/rc.d/gcc${SUFFIX}.sh
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
MAN1= cpp${SUFFIX}.1 \
@ -149,6 +152,7 @@ check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
# man pages can only be generated if Perl >= 5.6 is installed;
# fake them otherwise.
for mp in ${_MANPAGES}; do \

View file

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
ldconfig -m %%TARGLIB%%
;;
stop)
;;
*)
echo "Usage: ${0##*/} { start | stop }" >&2
exit 64
;;
esac
exit 0

View file

@ -9,6 +9,7 @@ bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
etc/rc.d/gcc%%SUFFIX%%.sh
include/omp.h
info/gcc%%SUFFIX%%/dir
%%FORTRAN%%bin/gfortran%%SUFFIX%%