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
commitdece331526560acda0f80a9331f1cfc24c057e49 (patch)
tree689e7d6976e50988962be0204e908bc30709077e /net/gupnp
parentd4747559ff35ec4e25bb9baab0a684ac6cd5596b (diff)
downloadpkgsrc-dece331526560acda0f80a9331f1cfc24c057e49.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