summaryrefslogtreecommitdiff
path: root/multimedia/kdemultimedia3
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2005-06-03 22:58:54 +0000
committermarkd <markd@pkgsrc.org>2005-06-03 22:58:54 +0000
commit1f4a085094db0649b708cd9e9e9ea1ac7c053e3c (patch)
treeed59505b2a4a47de134040a46dcc14c6853ff0de /multimedia/kdemultimedia3
parentc55f2fb31985d8271fc8194f2f72db9fb106cf01 (diff)
downloadpkgsrc-1f4a085094db0649b708cd9e9e9ea1ac7c053e3c.tar.gz
Now uses some semaphore functions so depend on pthread-sem on old NetBSD
systems to provide them.
Diffstat (limited to 'multimedia/kdemultimedia3')
-rw-r--r--multimedia/kdemultimedia3/Makefile7
-rw-r--r--multimedia/kdemultimedia3/buildlink3.mk5
2 files changed, 10 insertions, 2 deletions
diff --git a/multimedia/kdemultimedia3/Makefile b/multimedia/kdemultimedia3/Makefile
index a48a5c54997..90d9d10702e 100644
--- a/multimedia/kdemultimedia3/Makefile
+++ b/multimedia/kdemultimedia3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2005/06/01 14:51:56 markd Exp $
+# $NetBSD: Makefile,v 1.28 2005/06/03 22:58:54 markd Exp $
DISTNAME= kdemultimedia-${_KDE_VERSION}
CATEGORIES= multimedia
@@ -59,4 +59,9 @@ UNLIMIT_RESOURCES+= datasize
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "pth"
+.include "../../devel/pthread-sem/buildlink3.mk"
+BUILDLINK_TRANSFORM+= l:pthread:pthread:semaphore
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/kdemultimedia3/buildlink3.mk b/multimedia/kdemultimedia3/buildlink3.mk
index 11f5fb0a108..630b571e219 100644
--- a/multimedia/kdemultimedia3/buildlink3.mk
+++ b/multimedia/kdemultimedia3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2005/03/23 21:59:47 markd Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2005/06/03 22:58:54 markd Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KDEMULTIMEDIA_BUILDLINK3_MK:= ${KDEMULTIMEDIA_BUILDLINK3_MK}+
@@ -21,6 +21,9 @@ BUILDLINK_PKGSRCDIR.kdemultimedia?= ../../multimedia/kdemultimedia3
.include "../../audio/musicbrainz/buildlink3.mk"
.include "../../audio/tunepimp/buildlink3.mk"
.include "../../audio/taglib/buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "pth"
+.include "../../devel/pthread-sem/buildlink3.mk"
+.endif
.include "../../multimedia/xine-lib/buildlink3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"