summaryrefslogtreecommitdiff
path: root/net/gupnp
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-11-29 15:42:01 +0000
committerhans <hans@pkgsrc.org>2011-11-29 15:42:01 +0000
commita783ba9f2cf59f95a8ec220b93d768e107abb2d0 (patch)
treefc466368fa4e620d6902c0b2359a8d940c44bf59 /net/gupnp
parent93f74a53f02f86f9307f771fadd3a46380f913d0 (diff)
downloadpkgsrc-a783ba9f2cf59f95a8ec220b93d768e107abb2d0.tar.gz
Add libuuid dependency stuff from Makefile to buildlink3.mk.
Diffstat (limited to 'net/gupnp')
-rw-r--r--net/gupnp/buildlink3.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/gupnp/buildlink3.mk b/net/gupnp/buildlink3.mk
index 1d5a52f6d83..5aa305bc478 100644
--- a/net/gupnp/buildlink3.mk
+++ b/net/gupnp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2011/06/10 09:39:45 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2011/11/29 15:42:01 hans Exp $
BUILDLINK_TREE+= gupnp
@@ -9,6 +9,14 @@ BUILDLINK_API_DEPENDS.gupnp+= gupnp>=0.13.2
BUILDLINK_ABI_DEPENDS.gupnp?= gupnp>=0.13.3nb3
BUILDLINK_PKGSRCDIR.gupnp?= ../../net/gupnp
+.include "../../mk/bsd.prefs.mk"
+.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
+pre-configure:
+ cp ${FILESDIR}/uuid.pc ${BUILDLINK_DIR}/lib/pkgconfig/
+.else
+.include "../../devel/libuuid/buildlink3.mk"
+.endif
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../net/libsoup24/buildlink3.mk"
.include "../../net/gssdp/buildlink3.mk"