pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/speedtouch The file sbin/pppoa3 is not built unles...
details: https://anonhg.NetBSD.org/pkgsrc/rev/189feb516397
branches: trunk
changeset: 495705:189feb516397
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Sat Jun 18 11:29:10 2005 +0000
description:
The file sbin/pppoa3 is not built unless pthreads and semaphores are
available. Remove it from the PLIST when we do not have native threads.
diffstat:
net/speedtouch/Makefile | 10 +++++++++-
net/speedtouch/PLIST | 4 ++--
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (42 lines):
diff -r 409ef7da8eee -r 189feb516397 net/speedtouch/Makefile
--- a/net/speedtouch/Makefile Sat Jun 18 05:57:05 2005 +0000
+++ b/net/speedtouch/Makefile Sat Jun 18 11:29:10 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2005/02/04 19:32:45 tron Exp $
+# $NetBSD: Makefile,v 1.17 2005/06/18 11:29:10 kristerw Exp $
DISTNAME= speedtouch-1.3.1
PKGREVISION= 3
@@ -30,6 +30,14 @@
PLIST_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
RCD_SCRIPTS= adsl
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
+PLIST_SUBST+= PPPOA3=""
+.else
+PLIST_SUBST+= PPPOA3="@comment "
+CONFIGURE_ENV+= ac_cv_lib_pthread_pthread_create=no
+.endif
+
pre-extract:
${MKDIR} ${WRKDIR}/firmware
diff -r 409ef7da8eee -r 189feb516397 net/speedtouch/PLIST
--- a/net/speedtouch/PLIST Sat Jun 18 05:57:05 2005 +0000
+++ b/net/speedtouch/PLIST Sat Jun 18 11:29:10 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2005/05/02 20:34:04 reed Exp $
+@comment $NetBSD: PLIST,v 1.7 2005/06/18 11:29:10 kristerw Exp $
share/examples/rc.d/adsl
@exec ${MKDIR} ${PKG_SYSCONFDIR}/speedtouch
bin/speedtouch-setup
@@ -14,7 +14,7 @@
man/man8/pppoa3.8
sbin/modem_run
sbin/pppoa2
-sbin/pppoa3
+${PPPOA3}sbin/pppoa3
share/doc/speedtouch/FAQ
share/doc/speedtouch/FAQ-fr
share/doc/speedtouch/INSTALL
Home |
Main Index |
Thread Index |
Old Index