summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-11-24 13:59:20 +0000
committerjperkin <jperkin@pkgsrc.org>2022-11-24 13:59:20 +0000
commita5def15755522488b795041e7a33de126e9a6d97 (patch)
tree66655437f6927b2386b57044288a1fd532480985 /mk
parentf2574bffdc0b917ebc2952dd32ef744c2890fd7d (diff)
downloadpkgsrc-a5def15755522488b795041e7a33de126e9a6d97.tar.gz
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.
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index 72f0bea5db5..13317626625 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -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' | \