summaryrefslogtreecommitdiff
path: root/net/speedtouch
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /net/speedtouch
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'net/speedtouch')
-rw-r--r--net/speedtouch/Makefile7
-rw-r--r--net/speedtouch/PLIST4
2 files changed, 6 insertions, 5 deletions
diff --git a/net/speedtouch/Makefile b/net/speedtouch/Makefile
index f30b576f45c..1451e15f78b 100644
--- a/net/speedtouch/Makefile
+++ b/net/speedtouch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/02/22 19:26:59 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2008/04/12 22:43:08 jlam Exp $
DISTNAME= speedtouch-1.3.1
PKGREVISION= 4
@@ -29,11 +29,12 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
PLIST_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
RCD_SCRIPTS= adsl
+PLIST_VARS+= pppoa3
+
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
-PLIST_SUBST+= PPPOA3=""
+PLIST.pppoa3= yes
.else
-PLIST_SUBST+= PPPOA3="@comment "
CONFIGURE_ENV+= ac_cv_lib_pthread_pthread_create=no
.endif
diff --git a/net/speedtouch/PLIST b/net/speedtouch/PLIST
index 1724186154c..9318cbdc008 100644
--- a/net/speedtouch/PLIST
+++ b/net/speedtouch/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2005/06/18 11:29:10 kristerw Exp $
+@comment $NetBSD: PLIST,v 1.8 2008/04/12 22:43:08 jlam Exp $
share/examples/rc.d/adsl
@exec ${MKDIR} ${PKG_SYSCONFDIR}/speedtouch
bin/speedtouch-setup
@@ -14,7 +14,7 @@ man/man8/pppoa2.8
man/man8/pppoa3.8
sbin/modem_run
sbin/pppoa2
-${PPPOA3}sbin/pppoa3
+${PLIST.pppoa3}sbin/pppoa3
share/doc/speedtouch/FAQ
share/doc/speedtouch/FAQ-fr
share/doc/speedtouch/INSTALL