Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 17:18:27 +0900
From:      daichi <daichi@freebsd.org>
To:        gnome@FreeBSD.org
Subject:   Mozilla ports mistake
Message-ID:  <20021023171827.71e2ebb9.daichi@freebsd.org>

next in thread | raw e-mail | index | archive | help
I think mozilla* ports(mozilla, mozilla-devel, mozilla-vender) 
on 10/23 is broken. Would you fix this bug, please.

--- Makefile.orig       Wed Oct 23 16:56:25 2002
+++ Makefile    Wed Oct 23 17:11:00 2002
@@ -135,12 +135,12 @@
 
 pre-install:
        ${TOUCH} -f ${PLIST}
-       if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then
-           ${ECHO_CMD} bin/mozilla >> ${PLIST}
+       if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
+           ${ECHO_CMD} bin/mozilla >> ${PLIST} ;\
        fi
        ${ECHO_CMD} bin/mozilla-devel >> ${PLIST}
-       if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then
-           ${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >> ${PLIST}
+       if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
+           ${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >> ${PLIST} ;\
        fi
        cd ${WRKSRC}/dist/bin && ${FIND} -s * -type f -o -type l | \
                ${SED} -e 's:^:lib/mozilla-devel/:' >> ${PLIST} \
@@ -154,15 +154,15 @@
        cd ${WRKSRC}/dist/bin && ${FIND} . | \
                cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla-devel
        ${INSTALL_SCRIPT} ${WRKSRC}/mozilla-devel ${PREFIX}/bin
-       if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then
-           ${LN} -sf ${PREFIX}/bin/mozilla-devel ${PREFIX}/bin/mozilla
+       if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
+           ${LN} -sf ${PREFIX}/bin/mozilla-devel ${PREFIX}/bin/mozilla ;\
        fi
-       if [ ! -d ${PREFIX}/lib/browser_plugins ]; then
-           ${MKDIR} ${PREFIX}/lib/browser_plugins
+       if [ ! -d ${PREFIX}/lib/browser_plugins ]; then \
+           ${MKDIR} ${PREFIX}/lib/browser_plugins ;\
        fi
-       if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then
+       if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
            ${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
-               ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so
+               ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ;\
        fi
 
 post-install:

--
daichi@freebsd.org, http://people.freebsd.org/~daichi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021023171827.71e2ebb9.daichi>