summaryrefslogtreecommitdiff
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
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.
-rw-r--r--mk/bsd.pkg.mk8
-rw-r--r--mk/defs.SunOS.mk3
2 files changed, 8 insertions, 3 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)
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk
index 784bca900c9..de13f2a6f6e 100644
--- a/mk/defs.SunOS.mk
+++ b/mk/defs.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.60 2003/04/15 05:29:47 grant Exp $
+# $NetBSD: defs.SunOS.mk,v 1.61 2003/04/17 15:33:27 grant Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -128,6 +128,7 @@ _OPSYS_HAS_JAVA= no # Java is not standard
_OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages
_OPSYS_HAS_OSSAUDIO= no # libossaudio is available
_OPSYS_PERL_REQD= # no base version of perl required
+_OPSYS_PKGTOOLS_REQD= 20030417 # base version of pkg_install required
_OPSYS_RPATH_NAME= -R # name of symbol in rpath directive to linker
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG= -V simple -z # switch to patch(1) for backup suffix