summaryrefslogtreecommitdiff
path: root/mk/pkgformat
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-12-07 05:09:02 +0000
committerobache <obache@pkgsrc.org>2014-12-07 05:09:02 +0000
commite52f4eea2b86dd9ec93bd8365cd2ae29e278ec76 (patch)
tree33dad3f04a5d819d2a150da9d600ac0ce0e6edc6 /mk/pkgformat
parenteb50dae9e00c45e118d5cdca71ec9a76eb90a542 (diff)
downloadpkgsrc-e52f4eea2b86dd9ec93bd8365cd2ae29e278ec76.tar.gz
Pass PKGNAME_REQD to su-real-package-install, for multiversion packages
not using default version.
Diffstat (limited to 'mk/pkgformat')
-rw-r--r--mk/pkgformat/pkg/package.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/pkgformat/pkg/package.mk b/mk/pkgformat/pkg/package.mk
index 9c3e0d3d5ec..db379516b06 100644
--- a/mk/pkgformat/pkg/package.mk
+++ b/mk/pkgformat/pkg/package.mk
@@ -1,4 +1,4 @@
-# $NetBSD: package.mk,v 1.5 2014/04/07 05:25:03 obache Exp $
+# $NetBSD: package.mk,v 1.6 2014/12/07 05:09:02 obache Exp $
.if defined(PKG_SUFX)
WARNINGS+= "PKG_SUFX is deprecated, please use PKG_COMPRESSION"
@@ -199,6 +199,7 @@ real-package-install:
@${DO_NADA}
.endif
+MAKEFLAGS.su-real-package-install= PKGNAME_REQD=${PKGNAME_REQD:Q}
su-real-package-install:
@${PHASE_MSG} "Install binary package of "${PKGNAME:Q}
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])