ports/71648: [PATCH] www/dummyflash: fix install problem and unbreak

Yen-Ming Lee leeym at FreeBSD.org
Sun Sep 12 13:00:46 UTC 2004


>Number:         71648
>Category:       ports
>Synopsis:       [PATCH] www/dummyflash: fix install problem and unbreak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 12 13:00:41 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.3-BETA3 i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-BETA3 FreeBSD 5.3-BETA3 #4: Fri Sep 10 05:12:41 CST 2004
>Description:

dummyflash runs with but not depends on mozilla, so the destination directory
might not exist when installing dummyflash.

- create ${PREFIX}/lib/mozilla${DEVEL}/plugins when installing
- remove ${PREFIX}/lib/mozilla${DEVEL}/plugins if it's empty when deinstalling

Port maintainer (darius at dons.net.au) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:

http://pointyhat.freebsd.org/errorlogs/i386-5-latest/dummyflash-1.0.log

>Fix:

--- dummyflash-1.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/dummyflash/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile	16 Jun 2004 04:46:17 -0000	1.1
+++ Makefile	12 Sep 2004 12:49:33 -0000
@@ -33,6 +33,7 @@
 	@${ECHO_MSG} "Set WITH_MOZILLA_DEVEL to install this port for www/mozilla-devel"
 
 do-install:
+	@${MKDIR} ${PREFIX}/lib/mozilla${DEVEL}/plugins
 	${INSTALL_DATA} ${BUILD_WRKSRC}/dummyflash.so ${PREFIX}/lib/mozilla${DEVEL}/plugins
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/www/dummyflash/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist	16 Jun 2004 04:46:18 -0000	1.1
+++ pkg-plist	12 Sep 2004 12:49:33 -0000
@@ -1 +1,2 @@
 lib/mozilla%%DEVEL%%/plugins/dummyflash.so
+ at unexec rmdir %D/lib/mozilla%%DEVEL%%/plugins 2> /dev/null || true
--- dummyflash-1.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list