summaryrefslogtreecommitdiff
path: root/lang/gcc3-c++
diff options
context:
space:
mode:
authorjlam <jlam>2004-09-08 10:22:01 +0000
committerjlam <jlam>2004-09-08 10:22:01 +0000
commit88696241a4515111e1c4257575033b0336bef22a (patch)
tree7f538064e8d597b12ef9b7d5f4db3bc4b5596bbb /lang/gcc3-c++
parent3b940016013e08f2ec6670a7d2de2c920e30cc99 (diff)
downloadpkgsrc-88696241a4515111e1c4257575033b0336bef22a.tar.gz
GCC generates and uses its own libtool to build shared libraries, and
the resulting shared library names don't necessarily match the NetBSD names. Instead of hardcoding the shared library names in the PLISTs, only list the libtool archives in the PLISTs and dynamically determine the shared library names at post-install time and insert them into the PLIST. This fixes PLIST errors on non-NetBSD platforms. All of the magic is done in pkgsrc/lang/gcc3/language.mk. This should probably be generalized into something that could be used by all packages that use libtool.
Diffstat (limited to 'lang/gcc3-c++')
-rw-r--r--lang/gcc3-c++/PLIST7
1 files changed, 1 insertions, 6 deletions
diff --git a/lang/gcc3-c++/PLIST b/lang/gcc3-c++/PLIST
index db1fed7833a..327504974e4 100644
--- a/lang/gcc3-c++/PLIST
+++ b/lang/gcc3-c++/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2004/07/02 15:40:01 drochner Exp $
+@comment $NetBSD: PLIST,v 1.5 2004/09/08 10:22:01 jlam Exp $
${GCC_SUBPREFIX}/bin/c++
${GCC_SUBPREFIX}/bin/g++
${GCC_SUBPREFIX}/bin/${GCC_PLATFORM}-c++
@@ -190,12 +190,7 @@ ${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/utility
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/valarray
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/vector
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/cc1plus
-${GCC_SUBPREFIX}/lib/libstdc++.a
${GCC_SUBPREFIX}/lib/libstdc++.la
-${GCC_SUBPREFIX}/lib/libstdc++.so
-${GCC_SUBPREFIX}/lib/libstdc++.so.5
-${GCC_SUBPREFIX}/lib/libstdc++.so.5.6
-${GCC_SUBPREFIX}/lib/libsupc++.a
${GCC_SUBPREFIX}/lib/libsupc++.la
${GCC_SUBPREFIX}/man/man1/g++.1
${GCC_SUBPREFIX}/mk/c++.mk