pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/mozilla The newer Mozilla packages (Firefix 1.5, T...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99a784457b69
branches:  trunk
changeset: 507724:99a784457b69
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Tue Feb 07 16:21:30 2006 +0000

description:
The newer Mozilla packages (Firefix 1.5, Thunderbird 1.5, Sunbird 0.3a1,
Seamonkey 1.0) don't have regchrome anymore, but Mozilla 1.7.x still does.
Patch the INSTALL script (used by all those) to run regchrome only if it's
installed.

Ok with wiz.

diffstat:

 www/mozilla/INSTALL |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 5c2108bec6fa -r 99a784457b69 www/mozilla/INSTALL
--- a/www/mozilla/INSTALL       Tue Feb 07 15:39:48 2006 +0000
+++ b/www/mozilla/INSTALL       Tue Feb 07 16:21:30 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.1 2005/09/17 02:35:19 jlam Exp $
+# $NetBSD: INSTALL,v 1.2 2006/02/07 16:21:30 ghen Exp $
 
 MOZILLA="@MOZILLA@"
 MOZILLA_BIN="@MOZILLA_BIN@"
@@ -10,8 +10,10 @@
        ${MKDIR} -p "./tmpdir-${PKGNAME}"
        LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
                ${MOZILLA_FIVE_HOME}/regxpcom
-       LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
-               ${MOZILLA_FIVE_HOME}/regchrome
+       if [ -x ${MOZILLA_FIVE_HOME}/regchrome ]; then
+               LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
+                       ${MOZILLA_FIVE_HOME}/regchrome
+       fi
        ${RM} -fr "./tmpdir-${PKGNAME}"
        ;;
 esac



Home | Main Index | Thread Index | Old Index