summaryrefslogtreecommitdiffstats
path: root/lang/gcc46/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-03-26 05:16:44 +0000
committerdinoex <dinoex@FreeBSD.org>2006-03-26 05:16:44 +0000
commit5fb00e13938dc9a37f92b701747fc00b22a9e163 (patch)
treeb30b2934985d4a91ef8e1c5de3328e84799847ad /lang/gcc46/files
parent11453388c49235019db4fe4d4fa95d0ce4c6df54 (diff)
downloadFreeBSD-ports-5fb00e13938dc9a37f92b701747fc00b22a9e163.zip
FreeBSD-ports-5fb00e13938dc9a37f92b701747fc00b22a9e163.tar.gz
- add RC_D_SH to keep shared libs working after reboot
Diffstat (limited to 'lang/gcc46/files')
-rw-r--r--lang/gcc46/files/gcc.sh.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/gcc46/files/gcc.sh.in b/lang/gcc46/files/gcc.sh.in
new file mode 100644
index 0000000..987e953
--- /dev/null
+++ b/lang/gcc46/files/gcc.sh.in
@@ -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
OpenPOWER on IntegriCloud