pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/buildlink3
Module Name: pkgsrc
Committed By: rillig
Date: Mon Jun 13 06:54:10 UTC 2022
Modified Files:
pkgsrc/mk/buildlink3: find-pkgconfig-files.mk
Log Message:
mk/find-pkgconfig-files.mk: fix copy-and-paste leftovers
The pkg-config files are not header files.
While here, use ':=' for the variable assignments above procedure files
and document how to check the results during development.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mk/buildlink3/find-pkgconfig-files.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/buildlink3/find-pkgconfig-files.mk
diff -u pkgsrc/mk/buildlink3/find-pkgconfig-files.mk:1.2 pkgsrc/mk/buildlink3/find-pkgconfig-files.mk:1.3
--- pkgsrc/mk/buildlink3/find-pkgconfig-files.mk:1.2 Thu Feb 10 18:58:37 2022
+++ pkgsrc/mk/buildlink3/find-pkgconfig-files.mk Mon Jun 13 06:54:10 2022
@@ -1,4 +1,4 @@
-# $NetBSD: find-pkgconfig-files.mk,v 1.2 2022/02/10 18:58:37 gutteridge Exp $
+# $NetBSD: find-pkgconfig-files.mk,v 1.3 2022/06/13 06:54:10 rillig Exp $
#
# Copyright (c) 2020 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -35,25 +35,26 @@
# variables take the value of the path to the file that is
# "found".
#
-# BUILTIN_FIND_PKGCONFIG.<var> is the list of header files to find, in
+# BUILTIN_FIND_PKGCONFIG.<var> is the list of pkg-config files to find, in
# order, on the ${BUILTIN_PKGCONFIG_DIRS}. The variable <var> is set
# to the first path "found" on the filesystem.
#
# After including this file, the following variables are defined:
#
-# <var> is the first of the header files listed in
+# <var> is the first of the pkg-config files listed in
# ${BUILTIN_FIND_PKGCONFIG.<var>} that is "found" in
# ${BUILTIN_PKGCONFIG_DIRS}, or else it is "__nonexistent__".
#
# An example use is:
#
# BUILTIN_FIND_PKGCONFIG_FILES_VAR:= LIB1 LIB2
-#
-# BUILTIN_FIND_PKGCONFIG_FILES.LIB1= lib1.pc lib-1.0.pc
-
-# BUILTIN_FIND_PKGCONFIG_FILES.LIB2= lib2.pc lib-2.0.pc
+# BUILTIN_FIND_PKGCONFIG_FILES.LIB1:= lib1.pc lib-1.0.pc
+# BUILTIN_FIND_PKGCONFIG_FILES.LIB2:= lib2.pc lib-2.0.pc
# .include "../../mk/buildlink3/find-pkgconfig-files.mk"
+# .info ${LIB1} # during development
+# .info ${LIB2} # during development
#
+# Keywords: pkg-config pc
BUILTIN_PKGCONFIG_DIRS?= /usr/lib/pkgconfig \
/usr/share/pkgconfig \
Home |
Main Index |
Thread Index |
Old Index