pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/seamonkey Recent versions of firefox don't have re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/378093d38acd
branches:  trunk
changeset: 519714:378093d38acd
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Sun Oct 08 13:10:30 2006 +0000

description:
Recent versions of firefox don't have regchrome anymore, resulting in a
(non-fatal) error: ./+INSTALL: /usr/pkg/lib/firefox2/regchrome: not found.
Only run regchrome when it's installed.

diffstat:

 www/seamonkey/INSTALL |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 60c578c5af3e -r 378093d38acd www/seamonkey/INSTALL
--- a/www/seamonkey/INSTALL     Sun Oct 08 13:01:52 2006 +0000
+++ b/www/seamonkey/INSTALL     Sun Oct 08 13:10:30 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.1.1.1 2006/03/30 19:15:38 ghen Exp $
+# $NetBSD: INSTALL,v 1.2 2006/10/08 13:10:30 ghen Exp $
 
 MOZILLA="@MOZILLA@"
 MOZILLA_BIN="@MOZILLA_BIN@"
@@ -10,8 +10,11 @@
        ${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 ${TEST} -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