Subject: CVS commit: pkgsrc/lang
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 09/08/2004 10:22:01
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Sep  8 10:22:01 UTC 2004

Modified Files:
	pkgsrc/lang/gcc3: language.mk
	pkgsrc/lang/gcc3-c++: PLIST
	pkgsrc/lang/gcc3-f77: PLIST
	pkgsrc/lang/gcc3-java: PLIST
	pkgsrc/lang/gcc3-objc: PLIST

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 pkgsrc/lang/gcc3/language.mk
cvs rdiff -r1.4 -r1.5 pkgsrc/lang/gcc3-c++/PLIST
cvs rdiff -r1.3 -r1.4 pkgsrc/lang/gcc3-f77/PLIST
cvs rdiff -r1.3 -r1.4 pkgsrc/lang/gcc3-java/PLIST
cvs rdiff -r1.2 -r1.3 pkgsrc/lang/gcc3-objc/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.