Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 14:28:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192990] New: Mk/bsd.port.mk:=?UTF-8?Q?=20PKGFILE=20wrong=20at=20=E2=80=9Cmake=20=2DV=20PKGFILE=E2=80=9D?=
Message-ID:  <bug-192990-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 192990
           Summary: Mk/bsd.port.mk: PKGFILE wrong at =E2=80=9Cmake -V PKGFI=
LE=E2=80=9D
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: Infrastructure
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: kalten@gmx.at

If one executes =E2=80=9Cmake -V PKGFILE=E2=80=9D in e.g. =E2=80=9Cgames/fa=
irymax/=E2=80=9D one gets the result
=E2=80=9C=E2=80=A6/games/fairymax/fairymax-4.8S.6.txz=E2=80=9D but the pack=
age built by =E2=80=9Cmake package=E2=80=9D
is =E2=80=9C=E2=80=A6/games/fairymax/work/pkg/fairymax-4.8S.6.txz=E2=80=9D.

As far as I can see, ${PKGFILE} is set in =E2=80=9CMk/bsd.port.mk=E2=80=9D:
---SCHNIPP---
PKGREPOSITORYSUBDIR?=3D   All
PKGREPOSITORY?=3D     ${PACKAGES}/${PKGREPOSITORYSUBDIR}
.if exists(${PACKAGES})
PKGFILE?=3D       ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
.else
PKGFILE?=3D       ${.CURDIR}/${PKGNAME}${PKG_SUFX}
.endif
---schnapp---

I suppose the else branch should be changed to
PKGFILE?=3D       ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}

ru,
 Kalten

--=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-192990-13>