summaryrefslogtreecommitdiff
path: root/net/gupnp
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2018-09-29 17:37:49 +0000
committertnn <tnn@pkgsrc.org>2018-09-29 17:37:49 +0000
commit89d9c8d79582f70a173d0b92099c9f695c979b86 (patch)
treeba23d9915f10f44c74ec379ed923c90d47878c99 /net/gupnp
parent31ed94bf22d77bc591605becbbadf3dd7b1242f1 (diff)
downloadpkgsrc-89d9c8d79582f70a173d0b92099c9f695c979b86.tar.gz
Take care to not install dummy uuid.pc if it exists in the buildlink dir.
Doing so overwrites uuid.pc that belongs to libuuid through the symlink.
Diffstat (limited to 'net/gupnp')
-rw-r--r--net/gupnp/buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/gupnp/buildlink3.mk b/net/gupnp/buildlink3.mk
index 111f8522e72..9850bb7d7cb 100644
--- a/net/gupnp/buildlink3.mk
+++ b/net/gupnp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.36 2018/07/20 03:33:53 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.37 2018/09/29 17:37:49 tnn Exp $
BUILDLINK_TREE+= gupnp
@@ -12,7 +12,7 @@ BUILDLINK_PKGSRCDIR.gupnp?= ../../net/gupnp
.include "../../mk/bsd.fast.prefs.mk"
.if (!empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin") && (!defined(USE_INTERNAL_UUID) || empty(USE_INTERNAL_UUID:M[Yy][Ee][Ss]))
pre-configure:
- cp ${BUILDLINK_PKGSRCDIR.gupnp}/files/uuid.pc ${BUILDLINK_DIR}/lib/pkgconfig/
+ if ! test -e ${BUILDLINK_DIR}/lib/pkgconfig/uuid.pc; then cp ${BUILDLINK_PKGSRCDIR.gupnp}/files/uuid.pc ${BUILDLINK_DIR}/lib/pkgconfig/uuid.pc; fi
.else
.include "../../devel/libuuid/buildlink3.mk"
.endif