summaryrefslogtreecommitdiff
path: root/net/gupnp
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-11-30 18:40:32 +0000
committerwiz <wiz@pkgsrc.org>2011-11-30 18:40:32 +0000
commit239b70635b24f426bb6c2e90994b698a3704f166 (patch)
tree689e7d6976e50988962be0204e908bc30709077e /net/gupnp
parent84a9399727366e08eeb16f14fa606d761afb04a7 (diff)
downloadpkgsrc-239b70635b24f426bb6c2e90994b698a3704f166.tar.gz
Do the uuid dance properly.
XXX: will hopefully not be necessary once libuuid/builtin.mk works
Diffstat (limited to 'net/gupnp')
-rw-r--r--net/gupnp/buildlink3.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/gupnp/buildlink3.mk b/net/gupnp/buildlink3.mk
index ce4ab52b433..a9df4085111 100644
--- a/net/gupnp/buildlink3.mk
+++ b/net/gupnp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2011/11/30 17:10:36 hans Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2011/11/30 18:40:32 wiz Exp $
BUILDLINK_TREE+= gupnp
@@ -10,7 +10,10 @@ 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"
+.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
+pre-configure:
+ cp ${BUILDLINK_PKGSRCDIR.gupnp}/files/uuid.pc ${BUILDLINK_DIR}/lib/pkgconfig/
+.else
.include "../../devel/libuuid/buildlink3.mk"
.endif