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:   jperkin
Date:           Thu Nov 24 13:59:20 UTC 2022

Modified Files:
        pkgsrc/mk/buildlink3: bsd.buildlink3.mk

Log Message:
mk: Remove XXX comment.

The reason why BUILDLINK_FILES_CMD does not use "pkg_info -qL" instead of
"pkg_info -f" is that -qL returns the full path of the files, whereas -f
already strips the prefix, so using -qL would not provide any advantage,
for example we would still need to call sed to remove the prefix.


To generate a diff of this commit:
cvs rdiff -u -r1.255 -r1.256 pkgsrc/mk/buildlink3/bsd.buildlink3.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/bsd.buildlink3.mk
diff -u pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.255 pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.256
--- pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.255        Thu Nov 24 13:56:14 2022
+++ pkgsrc/mk/buildlink3/bsd.buildlink3.mk      Thu Nov 24 13:59:20 2022
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.255 2022/11/24 13:56:14 jperkin Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.256 2022/11/24 13:59:20 jperkin Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -633,7 +633,6 @@ buildlink-${_pkg_}-cookie:
 
 BUILDLINK_CONTENTS_FILTER.${_pkg_}?=                                   \
        ${EGREP} '(include.*/|\.h$$|\.idl$$|\.pc$$|/lib[^/]*\.[^/]*$$|lib/cmake/|share/cmake/)'
-# XXX: Why not pkg_info -qL?
 BUILDLINK_FILES_CMD.${_pkg_}?=                                         \
        ${_BLNK_PKG_INFO.${_pkg_}} -f ${BUILDLINK_PKGNAME.${_pkg_}} |   \
        ${SED} -n '/File:/s/^[  ]*File:[        ]*//p' |                \



Home | Main Index | Thread Index | Old Index