diff options
author | joerg <joerg@pkgsrc.org> | 2006-10-05 16:07:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-10-05 16:07:58 +0000 |
commit | 51c600c87675e18482fb2aceabcab1813efcd16c (patch) | |
tree | c8dd3a14aea1cb04c17882161503513d712db19d /lang | |
parent | 6369f495214b6e9b6cc8883a55bce7febc09477d (diff) | |
download | pkgsrc-51c600c87675e18482fb2aceabcab1813efcd16c.tar.gz |
When using pth as thread implementation, also include pthread-sem.
Supposed to fix PR 26051.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/onyx/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/onyx/Makefile b/lang/onyx/Makefile index 33bd18c95cb..682228da6e5 100644 --- a/lang/onyx/Makefile +++ b/lang/onyx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/04/06 06:22:12 reed Exp $ +# $NetBSD: Makefile,v 1.20 2006/10/05 16:07:58 joerg Exp $ DISTNAME= onyx-${VERS} PKGREVISION= 2 @@ -35,8 +35,9 @@ post-install: .include "../../devel/pcre/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" -.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" -CONFIGURE_ARGS+= --disable-threads +.if ${PTHREAD_TYPE} == "pth" +.include "../../devel/pthread-sem/buildlink3.mk" +LIBS+= -lsemaphore .endif .include "../../mk/bsd.pkg.mk" |