pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/mozilla-bin-nightly make it possible to override t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/baf75d403687
branches:  trunk
changeset: 475938:baf75d403687
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun May 30 03:22:05 2004 +0000

description:
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:

 www/mozilla-bin-nightly/Makefile.common |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 9ecbc859a340 -r baf75d403687 www/mozilla-bin-nightly/Makefile.common
--- a/www/mozilla-bin-nightly/Makefile.common   Sun May 30 03:16:09 2004 +0000
+++ b/www/mozilla-bin-nightly/Makefile.common   Sun May 30 03:22:05 2004 +0000
@@ -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 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if !defined(MOZ_VER) || ${MOZ_VER} == ""
 MOZ_VER!=      ${DATE} +%Y%m%d
+.endif
 
 .include "../../www/mozilla-bin/Makefile.common"



Home | Main Index | Thread Index | Old Index