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:   riastradh
Date:           Sat Jan 13 20:21:04 UTC 2024

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

Log Message:
mk/buildlink3: Use NATIVE_PKG_INFO_CMD for _BNK_PKG_INFO.${_pkg_}.

This is executed at build-time, not baked into the target package to
execute at run-time, so we need the native pkg_info command that can
be executed at build-time.

No change to native builds, where NATIVE_PKG_INFO_CMD is the same as
PKG_INFO_CMD.

(PKG_INFO, used above in _BLNK_PKG_DBDIR.${_pkg_}, is already defined
in terms of NATIVE_PKG_INFO_CMD, so no need to change anything for
_BLNK_PKG_DBDIR.${_pkg_}.)


To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 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.261 pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.262
--- pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.261        Tue Jun 27 10:40:09 2023
+++ pkgsrc/mk/buildlink3/bsd.buildlink3.mk      Sat Jan 13 20:21:04 2024
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.261 2023/06/27 10:40:09 riastradh Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.262 2024/01/13 20:21:04 riastradh Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -384,9 +384,9 @@ MAKEVARS+=  _BLNK_PKG_DBDIR.${_pkg_}
 .  endif
 
 .  if empty(_BLNK_PKG_DBDIR.${_pkg_}:M*not_found)
-_BLNK_PKG_INFO.${_pkg_}?=      ${PKG_INFO_CMD} -K ${_BLNK_PKG_DBDIR.${_pkg_}:H}
+_BLNK_PKG_INFO.${_pkg_}?=      ${NATIVE_PKG_INFO_CMD} -K ${_BLNK_PKG_DBDIR.${_pkg_}:H}
 .  else
-_BLNK_PKG_INFO.${_pkg_}?=      ${PKG_INFO_CMD} -K ${_PKG_DBDIR}
+_BLNK_PKG_INFO.${_pkg_}?=      ${NATIVE_PKG_INFO_CMD} -K ${_PKG_DBDIR}
 .  endif
 
 BUILDLINK_PKGNAME.${_pkg_}?=   ${_BLNK_PKG_DBDIR.${_pkg_}:T}



Home | Main Index | Thread Index | Old Index