summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2002-12-23 17:09:17 +0000
committerjlam <jlam>2002-12-23 17:09:17 +0000
commit524b88f1c53b5b3ff1cd0c4519ffe5caa3106545 (patch)
tree52a30f7296357e9ddea00e04a235942fd1118f02 /mk
parent5c5b397f50e34e4acf5422952701ef7b579e5845 (diff)
downloadpkgsrc-524b88f1c53b5b3ff1cd0c4519ffe5caa3106545.tar.gz
Note that Solaris 8 & 9 work with full caching enabled (thanks grant, salo!).
Also change _BLNK_CACHE_ALL to take wildcard lists of MACHINE_PLATFORMs so that specific operating system versions can be nailed down.
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink2/NOTES4
-rw-r--r--mk/buildlink2/bsd.buildlink2.mk13
2 files changed, 11 insertions, 6 deletions
diff --git a/mk/buildlink2/NOTES b/mk/buildlink2/NOTES
index 882691ffd53..bcf953aefe7 100644
--- a/mk/buildlink2/NOTES
+++ b/mk/buildlink2/NOTES
@@ -1,4 +1,4 @@
-$NetBSD: NOTES,v 1.4 2002/12/23 16:21:10 grant Exp $
+$NetBSD: NOTES,v 1.5 2002/12/23 17:09:17 jlam Exp $
Caching
=======
@@ -31,4 +31,4 @@ NetBSD 1.6 (jlam) Yes! Yes!
OpenBSD (cjep) Yes! N/A
Solaris 7 N/A N/A
Solaris 8 (grant) Yes! Yes!
-Solaris 9 (salo) Yes! N/A
+Solaris 9 (salo) Yes! Yes!
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk
index f11fb8ce576..3a8cc53a80f 100644
--- a/mk/buildlink2/bsd.buildlink2.mk
+++ b/mk/buildlink2/bsd.buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink2.mk,v 1.63 2002/12/22 19:02:43 jlam Exp $
+# $NetBSD: bsd.buildlink2.mk,v 1.64 2002/12/23 17:09:17 jlam Exp $
#
# An example package buildlink2.mk file:
#
@@ -74,11 +74,16 @@ CONFIGURE_ENV+= BUILDLINK_UPDATE_CACHE=no
# The caching code, which greatly speeds up the build process, works only
# on certain platforms.
#
-_BLNK_CACHE_ALL= NetBSD
-.if !empty(_BLNK_CACHE_ALL:M${OPSYS})
+_BLNK_CACHE_ALL= # empty
+_BLNK_CACHE_ALL+= NetBSD-1.[5-9]*-*
+_BLNK_CACHE_ALL+= SunOS-2.[89]-sparc
+
+.for _pattern_ in ${_BLNK_CACHE_ALL}
+. if !empty(MACHINE_PLATFORM:M${_pattern_})
CONFIGURE_ENV+= BUILDLINK_CACHE_ALL=yes
MAKE_ENV+= BUILDLINK_CACHE_ALL=yes
-.endif
+. endif
+.endfor
.if defined(USE_X11)
USE_X11_LINKS?= YES