[Bug 192990] New: Mk/bsd.port.mk: PKGFILE wrong at “make -V PKGFILE”
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 25 14:28:02 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192990
Bug ID: 192990
Summary: Mk/bsd.port.mk: PKGFILE wrong at “make -V PKGFILE”
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: Infrastructure
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: kalten at gmx.at
If one executes “make -V PKGFILE” in e.g. “games/fairymax/” one gets the result
“…/games/fairymax/fairymax-4.8S.6.txz” but the package built by “make package”
is “…/games/fairymax/work/pkg/fairymax-4.8S.6.txz”.
As far as I can see, ${PKGFILE} is set in “Mk/bsd.port.mk”:
---SCHNIPP---
PKGREPOSITORYSUBDIR?= All
PKGREPOSITORY?= ${PACKAGES}/${PKGREPOSITORYSUBDIR}
.if exists(${PACKAGES})
PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
.else
PKGFILE?= ${.CURDIR}/${PKGNAME}${PKG_SUFX}
.endif
---schnapp---
I suppose the else branch should be changed to
PKGFILE?= ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}
ru,
Kalten
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list