summaryrefslogtreecommitdiff
path: root/devel/libtool-base
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-12 22:42:57 +0000
committerjlam <jlam>2008-04-12 22:42:57 +0000
commit84db467ec7c8386066718011f8d47775d5608811 (patch)
treefdd67c81079412bf94013749a954125434a9baca /devel/libtool-base
parent7082f8c2044621c8641f3c82a2da95c2d442048c (diff)
downloadpkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'devel/libtool-base')
-rw-r--r--devel/libtool-base/Makefile9
-rw-r--r--devel/libtool-base/PLIST4
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile
index fb3e7cd4128..81d7b40d10f 100644
--- a/devel/libtool-base/Makefile
+++ b/devel/libtool-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2007/10/07 12:32:00 joerg Exp $
+# $NetBSD: Makefile,v 1.82 2008/04/12 22:42:59 jlam Exp $
###########################################################################
###########################################################################
@@ -34,6 +34,7 @@ COMMENT= Generic shared library support script (the script itself)
CONFLICTS+= libtool<=1.3.5nb11
TEST_TARGET= check
+PLIST_VARS+= shlibtool
.if ${OPSYS} == "AIX"
@@ -83,10 +84,8 @@ fix-libtool:
post-build: fix-libtool
-.if ${BUILD_SHLIBTOOL} == "NO"
-PLIST_SUBST+= SHLIBTOOL="@comment "
-.else
-PLIST_SUBST+= SHLIBTOOL=
+.if ${BUILD_SHLIBTOOL} != "NO"
+PLIST.shlibtool= yes
post-build:
@${SED} -e "s|@PREFIX@|"${PREFIX:Q}"|g" \
diff --git a/devel/libtool-base/PLIST b/devel/libtool-base/PLIST
index c4e74570526..bf0d8c26445 100644
--- a/devel/libtool-base/PLIST
+++ b/devel/libtool-base/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.9 2005/05/10 16:49:22 tv Exp $
+@comment $NetBSD: PLIST,v 1.10 2008/04/12 22:42:59 jlam Exp $
bin/libtool
bin/libtoolize
-${SHLIBTOOL}bin/shlibtool
+${PLIST.shlibtool}bin/shlibtool
share/aclocal/libtool.m4
share/aclocal/ltdl.m4
share/libtool/config.guess