Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2022 23:29:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267030] ports-mgmt/pkg_replace: Warned about PKG_SUFX on every fetch / build
Message-ID:  <bug-267030-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267030

            Bug ID: 267030
           Summary: ports-mgmt/pkg_replace: Warned about PKG_SUFX on every
                    fetch / build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: junchoon@dec.sakura.ne.jp
                CC: kdeguchi@sz.tokoha-u.ac.jp
             Flags: maintainer-feedback?(kdeguchi@sz.tokoha-u.ac.jp)
                CC: kdeguchi@sz.tokoha-u.ac.jp

ports-mgmt/pkg_replace is warned about PKG_SUFX usage on every fetch / buil=
d 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?=3D       .tar
/usr/ports/Mk/bsd.port.mk:2186:PKG_SUFX?=3D       .txz
/usr/ports/Mk/bsd.port.mk:2188:PKG_COMPRESSION_FORMAT?=3D ${PKG_SUFX:S/.//}
/usr/ports/Mk/bsd.port.mk:2190:.      if defined(PKG_SUFX)
/usr/ports/Mk/bsd.port.mk:2191:PKG_COMPRESSION_FORMAT?=3D ${PKG_SUFX:S/.//}
/usr/ports/Mk/bsd.port.mk:2192:WARNING+=3D "PKG_SUFX is defined, it should =
be
replaced with PKG_COMPRESSION_FORMAT"
/usr/ports/Mk/bsd.port.mk:2194:PKG_SUFX=3D        .pkg
/usr/ports/Mk/bsd.port.mk:2594:PKGFILE?=3D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
/usr/ports/Mk/bsd.port.mk:2596:PKGFILE?=3D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
${.CURDIR}/${PKGNAME}${PKG_SUFX}
/usr/ports/Mk/bsd.port.mk:2598:WRKDIR_PKGFILE=3D=20
${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}
/usr/ports/Mk/bsd.port.mk:2603:PKGLATESTFILE=3D=20=20=20=20=20=20=20=20=20=
=20
${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX}
/usr/ports/Mk/bsd.port.mk:3446: @if [ -f "${WRKDIR}/pkg/${PKGNAME}${PKG_SUF=
X}"
]; then \

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267030-7788>