ports-mgmt/pkg_replace is warned about PKG_SUFX usage on every fetch / build as below. /!\ WARNING /!\ PKG_SUFX is defined, it should be replaced with PKG_COMPRESSION_FORMAT This seems to be emitted by Mk/bsd.port.mk at line 2192. % grep -r -n "PKG_SUFX" /usr/ports/Mk/ /usr/ports/Mk/bsd.port.mk:2184:PKG_SUFX?= .tar /usr/ports/Mk/bsd.port.mk:2186:PKG_SUFX?= .txz /usr/ports/Mk/bsd.port.mk:2188:PKG_COMPRESSION_FORMAT?= ${PKG_SUFX:S/.//} /usr/ports/Mk/bsd.port.mk:2190:. if defined(PKG_SUFX) /usr/ports/Mk/bsd.port.mk:2191:PKG_COMPRESSION_FORMAT?= ${PKG_SUFX:S/.//} /usr/ports/Mk/bsd.port.mk:2192:WARNING+= "PKG_SUFX is defined, it should be replaced with PKG_COMPRESSION_FORMAT" /usr/ports/Mk/bsd.port.mk:2194:PKG_SUFX= .pkg /usr/ports/Mk/bsd.port.mk:2594:PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX} /usr/ports/Mk/bsd.port.mk:2596:PKGFILE?= ${.CURDIR}/${PKGNAME}${PKG_SUFX} /usr/ports/Mk/bsd.port.mk:2598:WRKDIR_PKGFILE= ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} /usr/ports/Mk/bsd.port.mk:2603:PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX} /usr/ports/Mk/bsd.port.mk:3446: @if [ -f "${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}" ]; then \
Created attachment 237281 [details] Update to pkg_replace-20221012 Fix PKG_SUFX warning message
(In reply to kdeguchi from comment #1) Confirmed fixed with this patch. Thanks!
Committed, Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1721ff69ec28ef7272ecc54f4282bbfbb84b0dac commit 1721ff69ec28ef7272ecc54f4282bbfbb84b0dac Author: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> AuthorDate: 2022-10-14 05:35:16 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-10-16 17:31:54 +0000 ports-mgmt/pkg_replace: update to 20222012 Fix warn about PKG_SUFX on every fetch / build PR: 267030 Reported by: junchoon@dec.sakura.ne.jp Approved by: kdeguchi@sz.tokoha-u.ac.jp (maintainer) ports-mgmt/pkg_replace/Makefile | 2 +- ports-mgmt/pkg_replace/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)