summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-05-30 03:22:05 +0000
committergrant <grant@pkgsrc.org>2004-05-30 03:22:05 +0000
commit6ac95f685f2331fae14701d2ada3dab8b3653e88 (patch)
tree520127daa2be79b5a223e5e001c12394320ee788
parentdfd23df1337aadf8a217e1c9032fcab35eaf24c7 (diff)
downloadpkgsrc-6ac95f685f2331fae14701d2ada3dab8b3653e88.tar.gz
make it possible to override the package date, and therefore version,
without having to hack the Makefile(s). makes it easier to downgrade to a previous nightly build (provided you already have the distfile) by simply setting eg. MOZ_VER=20040525, as I just had to do :)
-rw-r--r--www/mozilla-bin-nightly/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/mozilla-bin-nightly/Makefile.common b/www/mozilla-bin-nightly/Makefile.common
index 4a09fcb70b5..34e868f86cf 100644
--- a/www/mozilla-bin-nightly/Makefile.common
+++ b/www/mozilla-bin-nightly/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2004/02/25 23:19:56 grant Exp $
+# $NetBSD: Makefile.common,v 1.3 2004/05/30 03:22:05 grant Exp $
MASTER_SITES= http://ftp.mozilla.org/pub/mozilla.org/${MOZILLA_SHORT}/nightly/${MOZ_CONTRIB}latest-trunk/ \
ftp://ftp.mozilla.org/pub/mozilla.org/${MOZILLA_SHORT}/nightly/${MOZ_CONTRIB}latest-trunk/
@@ -9,6 +9,8 @@ NO_SRC_ON_FTP= # defined
.include "../../mk/bsd.prefs.mk"
+.if !defined(MOZ_VER) || ${MOZ_VER} == ""
MOZ_VER!= ${DATE} +%Y%m%d
+.endif
.include "../../www/mozilla-bin/Makefile.common"