summaryrefslogtreecommitdiff
path: root/www/mozilla-bin-nightly
diff options
context:
space:
mode:
authorgrant <grant>2004-05-30 03:22:05 +0000
committergrant <grant>2004-05-30 03:22:05 +0000
commitab10b70e647fb49da03452bad7f412648852d491 (patch)
tree520127daa2be79b5a223e5e001c12394320ee788 /www/mozilla-bin-nightly
parentb87c6a310d8c7d18820d4d42b2ef62b27d3da180 (diff)
downloadpkgsrc-ab10b70e647fb49da03452bad7f412648852d491.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 :)
Diffstat (limited to 'www/mozilla-bin-nightly')
-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"