summaryrefslogtreecommitdiff
path: root/devel/libtool-base
diff options
context:
space:
mode:
authortv <tv>2006-01-30 22:19:56 +0000
committertv <tv>2006-01-30 22:19:56 +0000
commita7000f928545b51d85516d724369a3e669409650 (patch)
tree82048ab4b0a8a517ce163b4d0e26f0d7a8162188 /devel/libtool-base
parentf999379dea6f4070859c1fe5745691c86f8e35fe (diff)
downloadpkgsrc-a7000f928545b51d85516d724369a3e669409650.tar.gz
Update libtool to 1.5.22. Too many changes for CVS commit logs; here's
some highlighted changes: * Fixes minor /tmp race condition bug. * Integrated Interix support; no longer requires pkgsrc hackery. * shlibtool is a wrapper using the (now working) "--tag=disable-static". * Several other bugs fixed, removing some pkgsrc-local changes.
Diffstat (limited to 'devel/libtool-base')
-rw-r--r--devel/libtool-base/Makefile10
-rw-r--r--devel/libtool-base/files/shlibtool.in4
2 files changed, 9 insertions, 5 deletions
diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile
index 1bb65155c16..526ee06f234 100644
--- a/devel/libtool-base/Makefile
+++ b/devel/libtool-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2005/11/09 18:05:57 tv Exp $
+# $NetBSD: Makefile,v 1.74 2006/01/30 22:19:56 tv Exp $
###########################################################################
###########################################################################
@@ -26,7 +26,7 @@
.include "../../devel/libtool/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-base-/}
-PKGREVISION= 6
+#PKGREVISION=
SVR4_PKGNAME= ltoob
COMMENT= Generic shared library support script (the script itself)
@@ -83,10 +83,10 @@ PLIST_SUBST+= SHLIBTOOL="@comment "
.else
PLIST_SUBST+= SHLIBTOOL=
+USE_PKGINSTALL= YES # for FILES_SUBST defaults
+
post-build:
- cd ${WRKSRC} && \
- ${SED} -e '/^# Whether or not to build static/{n;s/yes/no/;}' \
- < libtool > shlibtool
+ @${SED} ${FILES_SUBST_SED} <${FILESDIR}/shlibtool.in >${WRKSRC}/shlibtool
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/shlibtool ${PREFIX}/bin/shlibtool
diff --git a/devel/libtool-base/files/shlibtool.in b/devel/libtool-base/files/shlibtool.in
new file mode 100644
index 00000000000..b8df96e5113
--- /dev/null
+++ b/devel/libtool-base/files/shlibtool.in
@@ -0,0 +1,4 @@
+#!@SH@
+# $NetBSD: shlibtool.in,v 1.1 2006/01/30 22:19:57 tv Exp $
+
+exec @PREFIX@/bin/libtool --tag=disable-static "$@"