pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gupnp Take care to not install dummy uuid.pc if it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4eb656bb2366
branches:  trunk
changeset: 313417:4eb656bb2366
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Sep 29 17:37:49 2018 +0000

description:
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:

 net/gupnp/buildlink3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b908eb56e082 -r 4eb656bb2366 net/gupnp/buildlink3.mk
--- a/net/gupnp/buildlink3.mk   Sat Sep 29 17:18:19 2018 +0000
+++ b/net/gupnp/buildlink3.mk   Sat Sep 29 17:37:49 2018 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index