Subject: CVS commit: pkgsrc/mk/buildlink3
To: None <>
From: Johnny C. Lam <>
List: pkgsrc-changes
Date: 06/22/2005 21:08:37
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Jun 22 21:08:37 UTC 2005

Modified Files:
	pkgsrc/mk/buildlink3: libtool-fix-la

Log Message:
We were writing the wrong directory path for the location to the
uninstalled libtool archive in the case where we build it into some
place other than the current directory.  Older versions of libtool
didn't allow you to build a *.la file anywhere other than the current
directory, and libtool-fix-la made use of this assumption in libtool's
behavior.  More recent versions of libtool *do* let you build a *.la
file anywhere you'd like, so instead of blindly assuming it's the
current directory, use the path to the argument of the -o option.
This embeds the proper directory path into the uninstalled libtool

This has no impact on packages that just build libtool archives into
the current directory.  The packages that *are* impacted are the ones

   (1) pkgsrc converted to use libtool, and,
   (2) build shared libraries that are linked into other things
       as part of the build, and,
   (3) builds the libtool archives in some place other than the
       current directory.

To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/buildlink3/libtool-fix-la

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