diff options
author | jlam <jlam@pkgsrc.org> | 2004-09-08 10:22:01 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-09-08 10:22:01 +0000 |
commit | 13760a9c4a5dc252b9e5c12ba2fb759ea42cd7c2 (patch) | |
tree | 7f538064e8d597b12ef9b7d5f4db3bc4b5596bbb /lang/gcc3-f77 | |
parent | 18de3fd8990b3b540a45f6bba5a56100e3f98a4d (diff) | |
download | pkgsrc-13760a9c4a5dc252b9e5c12ba2fb759ea42cd7c2.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-f77')
-rw-r--r-- | lang/gcc3-f77/PLIST | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lang/gcc3-f77/PLIST b/lang/gcc3-f77/PLIST index 1da9b6fdcc0..04ac3cb85c4 100644 --- a/lang/gcc3-f77/PLIST +++ b/lang/gcc3-f77/PLIST @@ -1,13 +1,9 @@ -@comment $NetBSD: PLIST,v 1.3 2003/07/08 16:07:04 drochner Exp $ +@comment $NetBSD: PLIST,v 1.4 2004/09/08 10:22:01 jlam Exp $ ${GCC_SUBPREFIX}/bin/g77 ${GCC_SUBPREFIX}/info/g77.info ${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/f771 ${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/g2c.h ${GCC_SUBPREFIX}/lib/libfrtbegin.a -${GCC_SUBPREFIX}/lib/libg2c.a ${GCC_SUBPREFIX}/lib/libg2c.la -${GCC_SUBPREFIX}/lib/libg2c.so -${GCC_SUBPREFIX}/lib/libg2c.so.0 -${GCC_SUBPREFIX}/lib/libg2c.so.0.0 ${GCC_SUBPREFIX}/man/man1/g77.1 ${GCC_SUBPREFIX}/mk/f77.mk |