diff options
author | grant <grant> | 2004-05-30 03:22:05 +0000 |
---|---|---|
committer | grant <grant> | 2004-05-30 03:22:05 +0000 |
commit | 6d3afc1052bcf2e7fa8bfaa44aa1a4d8d2180d4d (patch) | |
tree | 520127daa2be79b5a223e5e001c12394320ee788 /www/mozilla-bin-nightly | |
parent | 313d07292c82c140392895aa1f7d930b0c8fd847 (diff) | |
download | pkgsrc-6d3afc1052bcf2e7fa8bfaa44aa1a4d8d2180d4d.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.common | 4 |
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" |