diff options
author | tron <tron@pkgsrc.org> | 2001-03-23 15:47:21 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-03-23 15:47:21 +0000 |
commit | 5a4f1f9f65d385cfa3cbe45658d02b6c19e753a7 (patch) | |
tree | c6e92b1f48301c2c54d8646a7539f2b54c301685 /mk | |
parent | b55c94af39b62ee0789086e4ef184de43e869852 (diff) | |
download | pkgsrc-5a4f1f9f65d385cfa3cbe45658d02b6c19e753a7.tar.gz |
Provide Zoularis version number as "${ZOULARIS_VERSION}" on non NetBSD
systems.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.prefs.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 319b304ccef..06f8f70cbf7 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 |