pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libuuid libuuid: Always create fake .pc when usi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0f70174ebc0
branches:  trunk
changeset: 380347:c0f70174ebc0
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 14 13:55:56 2018 +0000

description:
libuuid: Always create fake .pc when using builtin.

Previous logic would only create it when pkg-config was in USE_TOOLS,
but pkg-config is not the only tool that uses them - for example any
package that uses ruby-pkg-config.  Fixes graphics/ruby-cairo.

diffstat:

 devel/libuuid/builtin.mk |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 5f69980341b1 -r c0f70174ebc0 devel/libuuid/builtin.mk
--- a/devel/libuuid/builtin.mk  Mon May 14 13:55:23 2018 +0000
+++ b/devel/libuuid/builtin.mk  Mon May 14 13:55:56 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.8 2016/02/24 14:58:24 jperkin Exp $
+# $NetBSD: builtin.mk,v 1.9 2018/05/14 13:55:56 jperkin Exp $
 
 BUILTIN_PKG:=  libuuid
 
@@ -70,8 +70,7 @@
 ###
 CHECK_BUILTIN.libuuid?=        no
 .if !empty(CHECK_BUILTIN.libuuid:M[nN][oO])
-.  if !empty(USE_BUILTIN.libuuid:M[yY][eE][sS]) && \
-      !empty(USE_TOOLS:C/:.*//:Mpkg-config)
+.  if !empty(USE_BUILTIN.libuuid:M[yY][eE][sS])
 BUILDLINK_TARGETS+=    libuuid-fake-pc
 
 .    if ${OPSYS} == "SunOS"



Home | Main Index | Thread Index | Old Index