summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg>2006-10-05 16:07:58 +0000
committerjoerg <joerg>2006-10-05 16:07:58 +0000
commit8b4a5ce1fd9e74eec303a4b7492ddf87a20c8ea7 (patch)
treec8dd3a14aea1cb04c17882161503513d712db19d /lang
parentdcd5c0a47788b66d3211ebffe8bd508d3b1da46b (diff)
downloadpkgsrc-8b4a5ce1fd9e74eec303a4b7492ddf87a20c8ea7.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/Makefile7
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"