Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2002 10:39:03 -0700
From:      Pat Lashley <patl+freebsd@volant.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42646: flashplugin-mozilla port fails to install if mozilla-dev installed instead of mozilla
Message-ID:  <1943225408.1031679543@mccaffrey.phoenix.volant.org>

next in thread | raw e-mail | index | archive | help

>Number:         42646
>Category:       ports
>Synopsis:       flashplugin-mozilla port fails to install if mozilla-dev
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 10 10:40:10 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Pat Lashley
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD mccaffrey.phoenix.volant.org 4.6-STABLE FreeBSD 4.6-STABLE 
#0: Thu Aug 15 10:02:23 PDT 2002 
root@mccaffrey.phoenix.volant.org:/d4/FreeBSDobj/usr/src/sys/MCCAFFREY i386


>Description:
The www/flashplugin-mozilla port attempts to install the plugin to
${X11BASE}/lib/mozilla/plugins/ which doesn't exist if mozilla-devel
was installed instead of mozilla.

>How-To-Repeat:
	cd /var/db/pkg
	pkg_deinstall mozilla-1.0*
	portinstall mozilla-1.1,1
	portinstall flashplugin-mozilla
>Fix:

The quickest work-around for anyone experiencing the problem is simply
to edit the Makefile to add replace 'mozilla' with 'mozilla-devel' in
the path.

There are several longer term solutions possible, depending on our
policy for plugin installations:

    1.	Check for both directories (and any other browser-specific
	plugin directories with compatable interfaces) and install
	into the ones that are found.

    2.	Create the .../mozilla/plugins directory if necessary and
	install into it.  Make sure that all compatable browser
	ports look in that directory as well as any private ones.

    3.	The patch below uses the WITH_FULL_MOZILLA flag used by
	the gnome-fifth-toe port to decide which directory to
	install into.

Personally, I'd commit 3 now and start a discussion to determine
our long term policy with respect to plugin installation with
the intent of converting to 1 or 2 later.


-Pat

--- Makefile.~1~	Sun Mar 24 08:34:23 2002
+++ Makefile	Sun Sep  8 18:04:19 2002
@@ -15,14 +15,20 @@

 MAINTAINER=	llwang@infor.org

+.if defined(WITH_MOZILLA_DEVEL)
+MOZILLA_NAME=	mozilla-devel
+.else
+MOZILLA_NAME=	mozilla
+.endif
+
 LIB_DEPENDS=	flash.0:${PORTSDIR}/graphics/libflash
-RUN_DEPENDS=	mozilla:${PORTSDIR}/www/mozilla
+RUN_DEPENDS=	mozilla:${PORTSDIR}/www/${MOZILLA_NAME}

 USE_X_PREFIX=	yes

 WRKSRC=		${WRKDIR}/${DISTNAME}/Plugin

 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${X11BASE}/lib/mozilla/plugins
+	@${INSTALL_PROGRAM} ${WRKSRC}/npflash.so 
${X11BASE}/lib/${MOZILLA_NAME}/plugins

 .include <bsd.port.mk>


-------------------------------------------------------------------------

>Release-Note:
>Audit-Trail:
>Unformatted:
 installed instead of mozilla

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




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