Bug 65590 - www/mozilla, www/mozilla-devel, www/firefox: rebuild Chrome's registry on the spot.
Summary: www/mozilla, www/mozilla-devel, www/firefox: rebuild Chrome's registry on the...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 22:10 UTC by Thierry Thomas
Modified: 2004-08-05 20:54 UTC (History)
0 users

See Also:


Attachments
mozilla.diff (1.49 KB, patch)
2004-04-15 22:10 UTC, Thierry Thomas
no flags Details | Diff
firefox.diff (607 bytes, patch)
2004-04-15 22:10 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas 2004-04-15 22:10:15 UTC
	The current ports build the Chrome's registry during the post-build:
	target, i.e. in the WRKSRC directory, and this location is recorded
	in the registry.

	Later, if you install a .xpi extension like mozex, you won't be able
	to deinstall this extension and then mozilla cleanly.

	The proposed patches rebuild the Chrome's registry during post-install:

Fix: Please apply the following patches:

diff -urN www/mozilla-devel.orig/Makefile www/mozilla-devel/Makefile
--- www/mozilla-devel.orig/Makefile	Mon Apr 12 05:29:59 2004
+++ www/mozilla-devel/Makefile	Thu Apr 15 22:29:05 2004
@@ -120,6 +120,8 @@
 	OPTIMIZED_CFLAGS "Enable -O2 optimizations" off \
 	SMB "Enable smb:// URI support using gnomevfs" off
 
+PKGINSTALL=	${PORTSDIR}/www/mozilla/pkg-install
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"
@@ -334,6 +336,7 @@
 
 post-install:
 	@${CHMOD} -R u-w ${PREFIX}/lib/${MOZILLA}/components
+	@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
--- mozilla-devel.diff ends here ---
How-To-Repeat: 	Install mozex (see PR ports/65589 deinstall it, then deinstall mozilla.
	Mozilla won't deinstall cleanly.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2004-04-15 22:10:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome


Over to the maintainers.
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-06-10 18:32:56 UTC
State Changed
From-To: open->analyzed

This will be evaluated when Mozilla is upgraded to 1.7.
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-08-05 20:54:29 UTC
State Changed
From-To: analyzed->closed

Committed, thanks!