From llwang@infor.ck.tp.edu.tw  Fri Sep 20 10:05:43 2002
Return-Path: <llwang@infor.ck.tp.edu.tw>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D1BEA37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Sep 2002 10:05:43 -0700 (PDT)
Received: from infor.ck.tp.edu.tw (infor.ck.tp.edu.tw [203.64.26.200])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8D68D43E42
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Sep 2002 10:05:41 -0700 (PDT)
	(envelope-from llwang@infor.ck.tp.edu.tw)
Received: by infor.ck.tp.edu.tw (Postfix, from userid 1001)
	id 12AFE927C; Sat, 21 Sep 2002 01:05:13 +0800 (CST)
Message-Id: <20020920170513.12AFE927C@infor.ck.tp.edu.tw>
Date: Sat, 21 Sep 2002 01:05:13 +0800 (CST)
From: Li-lun Wang (Leland Wang) <llwang@infor.org>
Reply-To: Li-lun Wang (Leland Wang) <llwang@infor.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: update port: www/flashplugin-mozilla (by maintainer)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43135
>Category:       ports
>Synopsis:       update port: www/flashplugin-mozilla (by maintainer)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 20 10:10:02 PDT 2002
>Closed-Date:    Fri Sep 20 17:54:27 PDT 2002
>Last-Modified:  Fri Sep 20 17:54:27 PDT 2002
>Originator:     Li-lun Wang (Leland Wang)
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Athena.infor.org 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Fri Sep 6 13:03:45 CST 2002 root@Athena.infor.org:/usr/obj/usr/src/sys/Athena i386


	
>Description:
	
>How-To-Repeat:
flashplugin-mozilla could not install properly for mozilla-devel.
This patch makes it able to detect mozilla-devel and install the plugin
properly.
	
>Fix:
diff -urN flashplugin-mozilla.orig/Makefile flashplugin-mozilla/Makefile
--- flashplugin-mozilla.orig/Makefile	Sat Sep 21 00:25:53 2002
+++ flashplugin-mozilla/Makefile	Sat Sep 21 00:56:29 2002
@@ -23,6 +23,13 @@
 WRKSRC=		${WRKDIR}/${DISTNAME}/Plugin
 
 do-install:
+.if exists(${X11BASE}/lib/mozilla)
+	@${ECHO_MSG} "Installing flashplugin for mozilla"
 	@${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${X11BASE}/lib/mozilla/plugins
+.endif
+.if exists(${X11BASE}/lib/mozilla-devel)
+	@${ECHO_MSG} "Installing flashplugin for mozilla-devel"
+	@${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${X11BASE}/lib/mozilla-devel/plugins
+.endif
 
 .include <bsd.port.mk>

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Fri Sep 20 17:54:19 PDT 2002 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43135 
>Unformatted:
