summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-04-17 15:33:26 +0000
committergrant <grant@pkgsrc.org>2003-04-17 15:33:26 +0000
commit6c5f6bb6c3b9916632564cb5938c71f09ea47e1c (patch)
tree2608f171d11cc9af2c39803b8224132ae8bb831b /mk/bsd.pkg.mk
parentb0a7da37e339bf3ea3610987205de310b3f6221b (diff)
downloadpkgsrc-6c5f6bb6c3b9916632564cb5938c71f09ea47e1c.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)