From 5a4f1f9f65d385cfa3cbe45658d02b6c19e753a7 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 23 Mar 2001 15:47:21 +0000 Subject: [PATCH] Provide Zoularis version number as "${ZOULARIS_VERSION}" on non NetBSD systems. --- mk/bsd.prefs.mk | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 319b304ccef3..06f8f70cbf7c 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.27 2001/03/19 14:46:04 dmcmahill Exp $ +# $NetBSD: bsd.prefs.mk,v 1.28 2001/03/23 15:47:21 tron Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -217,4 +217,13 @@ PKGTOOLS_VERSION!=${PKG_TOOLS_BIN}/pkg_info -V 2>/dev/null || echo 20010302 MAKEFLAGS+= PKGTOOLS_VERSION="${PKGTOOLS_VERSION}" .endif +.ifndef ZOULARIS_VERSION +.if !exists(${LOCALBASE}/bsd/share/mk/zoularis.mk) +ZOULARIS_VERSION= 20000522 +.else +.include "${LOCALBASE}/bsd/share/mk/zoularis.mk" +.endif +MAKEFLAGS+= ZOULARIS_VERSION="${ZOULARIS_VERSION}" +.endif + .endif # BSD_PKG_MK