diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-06-18 11:29:10 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-06-18 11:29:10 +0000 |
commit | 326b42fa0cece61d2cb023818605c54728d23b90 (patch) | |
tree | d8e0c06141d094e447c6aeee2df4789851a0e5ad /net | |
parent | da1d08afb2a5a50ac242378ec0b93f7c63082857 (diff) | |
download | pkgsrc-326b42fa0cece61d2cb023818605c54728d23b90.tar.gz |
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 (limited to 'net')
-rw-r--r-- | net/speedtouch/Makefile | 10 | ||||
-rw-r--r-- | net/speedtouch/PLIST | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/net/speedtouch/Makefile b/net/speedtouch/Makefile index d59fd1ab932..82ea2ecb334 100644 --- a/net/speedtouch/Makefile +++ b/net/speedtouch/Makefile @@ -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 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 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 --git a/net/speedtouch/PLIST b/net/speedtouch/PLIST index 28f4eac7555..1724186154c 100644 --- a/net/speedtouch/PLIST +++ b/net/speedtouch/PLIST @@ -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/pppoa2.8 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 |