Subject: New USE_LIBTOOL feature: OS testers needed
To: None <>
From: Todd Vierling <>
List: tech-pkg
Date: 08/15/2004 23:29:21
There's a new bit of automation available for libtool packages, using the
variable LIBTOOL_LA_FILES.  This automatically generates all the possibly
OS-dependent library entries in PLIST, including the .a, .so, and .so.* (and
.dylib on Darwin).  My intent is eventually to use this on all libtool-using
packages, so that libtool itself can be made more "standard" depending on
the host OS.

To test, I've converted one package to use this new scheme, with diff
attached (devel/rx).  It works for me on NetBSD and Interix, and I'd line
some reports that it works on other platforms, particularly Darwin, AIX, and
Irix.  Check $PKG_DBDIR/rx-1.5/+CONTENTS to make sure all the library files
are properly included, even though the static PLIST does not contain them.

If all is well, I'll undertake a blanket conversion and update the pkgsrc
documentation to match, but will hold back the commit until after the 2004Q3
branch.  This will pave the way to a fix for PR pkg/26633 as well after the
quarterly branch.

(As a happy side effect, this will allow mk.conf to do LIBTOOL=${SHLIBTOOL}
to avoid buiding static libraries, while still having accurate PLISTs.)

Index: Makefile
RCS file: /cvsroot/pkgsrc/devel/rx/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	24 Apr 2004 22:46:09 -0000	1.15
+++ Makefile	16 Aug 2004 03:28:35 -0000
@@ -11,6 +11,7 @@

 USE_LIBTOOL=	# defined
 GNU_CONFIGURE=	# defined

Index: PLIST
RCS file: /cvsroot/pkgsrc/devel/rx/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- PLIST	16 Feb 2004 17:52:24 -0000	1.4
+++ PLIST	16 Aug 2004 03:28:35 -0000
@@ -1,7 +1,2 @@
 @comment $NetBSD: PLIST,v 1.4 2004/02/16 17:52:24 seb Exp $

-- Todd Vierling <> <>