Subject: CVS commit: pkgsrc/mk/buildlink3
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 03/30/2004 17:25:19
Module Name:	pkgsrc
Committed By:	jlam
Date:		Tue Mar 30 17:25:19 UTC 2004

Modified Files:
	pkgsrc/mk/buildlink3: bsd.buildlink3.mk libtool-fix-la
	    libtool-post-cache libtool-post-logic libtool.sh

Log Message:
Extend the capabilities of buildlink3's libtool wrapper a bit compared
to the stock libtool: you can now copy or symlink an uninstalled
libtool archive file somewhere else than its build directory, and you
can still link against it.  This allows us to more easily bolt libtool
build machinery onto packages that have unusual(ly crappy) build
systems that rely on installing libraries to some common build directory
after they're built.

We do this by adding a "buildlibdir" variable to the uninstalled
libtool archive that points to the build directory of the archive.
Whenever we link against this archive, we rewrite the path to archive
on the libtool command line so that it points to the true archive.
This allows the real libtool to find the files under $buildlibdir/.libs.


To generate a diff of this commit:
cvs rdiff -r1.133 -r1.134 pkgsrc/mk/buildlink3/bsd.buildlink3.mk
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/buildlink3/libtool-fix-la \
    pkgsrc/mk/buildlink3/libtool-post-logic
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/buildlink3/libtool-post-cache
cvs rdiff -r1.16 -r1.17 pkgsrc/mk/buildlink3/libtool.sh

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