pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/tools
Module Name: pkgsrc
Committed By: wiz
Date: Fri Jul 22 22:31:58 UTC 2022
Modified Files:
pkgsrc/mk/tools: replace.mk
Log Message:
mk: if pkg-config is not in USE_TOOLS, create a false(1) wrapper for it
To generate a diff of this commit:
cvs rdiff -u -r1.293 -r1.294 pkgsrc/mk/tools/replace.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/tools/replace.mk
diff -u pkgsrc/mk/tools/replace.mk:1.293 pkgsrc/mk/tools/replace.mk:1.294
--- pkgsrc/mk/tools/replace.mk:1.293 Thu Jan 6 10:19:11 2022
+++ pkgsrc/mk/tools/replace.mk Fri Jul 22 22:31:58 2022
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.293 2022/01/06 10:19:11 schmonz Exp $
+# $NetBSD: replace.mk,v 1.294 2022/07/22 22:31:58 wiz Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -680,6 +680,13 @@ TOOLS_PATH.pkg-config= ${LOCALBASE}/bin
. else
AUTORECONF_ARGS+= -I ${TOOLS_PLATFORM.pkg-config:S/\/bin\/pkg-config//}/share/aclocal
. endif
+.else
+#
+# If a package doesn't explicitly say it uses pkg-config, create a
+# "broken" pkg-config in the tools directory.
+#
+TOOLS_FAIL+= pkg-config
+TOOLS_PATH.pkg-config= ${TOOLS_CMD.pkg-config}
.endif
.if !defined(TOOLS_IGNORE.rpm2pkg) && !empty(_USE_TOOLS:Mrpm2pkg)
Home |
Main Index |
Thread Index |
Old Index