aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2006-06-24 09:42:34 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2006-06-24 09:42:34 +0000
commitd7b1192b0c196c642713dc31931b3f35c9aa864f (patch)
tree0dcfb371ec90a3dcc7a8e6f25418fa4043b9aaf0 /lang
parentf51e5e4f911af92f7092b33a092e5323b16a457a (diff)
downloadports-d7b1192b0c196c642713dc31931b3f35c9aa864f.tar.gz
ports-d7b1192b0c196c642713dc31931b3f35c9aa864f.zip
- take benefit of USE_LDCONFIG
Notes
Notes: svn path=/head/; revision=166181
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc32/Makefile3
-rw-r--r--lang/gcc32/files/gcc.sh.in14
2 files changed, 1 insertions, 16 deletions
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index 651ac8754e9c..e2c7167d769b 100644
--- a/lang/gcc32/Makefile
+++ b/lang/gcc32/Makefile
@@ -91,11 +91,10 @@ pre-configure:
pre-install:
${MKDIR} ${PREFIX}/info
.if defined(WANT_SHAREDLIBS)
- ${INSTALL_SCRIPT} ${WRKDIR}/gcc.sh ${PREFIX}/${RC_D_SH}
+ -@${MKDIR} ${PREFIX}/libdata/ldconfig
.endif
post-install:
- -@${MKDIR} ${PREFIX}/libdata/ldconfig
@${RM} -f ${PREFIX}/bin/c++ ${PREFIX}/bin/${CONFIGURE_TARGET}-c++
@${MV} -f ${PREFIX}/bin/c++filt ${PREFIX}/bin/g++filt
@(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ \
diff --git a/lang/gcc32/files/gcc.sh.in b/lang/gcc32/files/gcc.sh.in
deleted file mode 100644
index 987e9531e371..000000000000
--- a/lang/gcc32/files/gcc.sh.in
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-case "$1" in
-start)
- ldconfig -m %%TARGLIB%%
- ;;
-stop)
- ;;
-*)
- echo "Usage: ${0##*/} { start | stop }" >&2
- exit 64
- ;;
-esac
-exit 0