Subject: PR/29215 CVS commit: pkgsrc/mk/wrapper
To: None <jlam@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-bugs
Date: 02/14/2005 21:34:01
The following reply was made to PR pkg/29215; it has been noted by GNATS.

From: "Johnny C. Lam" <jlam@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29215 CVS commit: pkgsrc/mk/wrapper
Date: Mon, 14 Feb 2005 21:33:08 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jlam
 Date:		Mon Feb 14 21:33:08 UTC 2005
 
 Modified Files:
 	pkgsrc/mk/wrapper: bsd.wrapper.mk
 
 Log Message:
 Teach the libtool wrapper about the same types of transformations that
 the compiler wrapper already knows to do.  This should protect
 "-install_name ..." from wrapper transformations within the libtool
 wrapper on Darwin and fixes PR pkg/29215.
 
 Software that properly use libtool don't pass an explicit "-install_name
 ..." because libtool always generates its own such argument when
 building the (Darwin) shared library.  However, not every piece of
 software, including the ones like lang/tcl that pkgsrc converted to
 use libtool, will use libtool in the documented fashion.  Longer term,
 those packages should be fixed properly, but we will still need the
 libtool wrapper to avoid transforming arguments that the compiler
 wrapper itself doesn't transform, e.g. for MIPSpro and -LANG:*.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.19 -r1.20 pkgsrc/mk/wrapper/bsd.wrapper.mk
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.