summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorgrant <grant>2003-04-17 15:33:26 +0000
committergrant <grant>2003-04-17 15:33:26 +0000
commit321d1313983666edf51a05d3c4e96a2b522ac1df (patch)
tree2608f171d11cc9af2c39803b8224132ae8bb831b /mk/bsd.pkg.mk
parente92d521bb4d4f63e2930d1e0e84c3a404317ac4d (diff)
downloadpkgsrc-321d1313983666edf51a05d3c4e96a2b522ac1df.tar.gz
allow defs.*.mk to override PKGTOOLS_REQD, starting with Solaris
requiring 20030417 for recent bug fixes. if platforms require (or desire) a newer version of pkg_install than 20021123 (the current default) for correct operation, please set _OPSYS_PKGTOOLS_REQD in defs.OPSYS.mk.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index c6ade62f30c..fcfe797c933 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1170 2003/04/17 13:04:57 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1171 2003/04/17 15:33:26 grant Exp $
#
# This file is in the public domain.
#
@@ -555,8 +555,12 @@ uptodate-digest:
esac \
fi
-# Latest version of pkgtools required for this file.
+# Latest version of pkgtools required for correct pkgsrc operation.
+.if defined(_OPSYS_PKGTOOLS_REQD)
+PKGTOOLS_REQD= ${_OPSYS_PKGTOOLS_REQD}
+.else
PKGTOOLS_REQD= 20021123
+.endif
# Check that we are using up-to-date pkg_* tools with this file.
.if defined(ZOULARIS_VERSION)