nixpkgs/pkgs/applications/networking/browsers/icecat-4/skip-gre-registration.patch
Ludovic Courtès 525b04f037 Prepare work on GNU IceCat 4.x.
svn path=/nixpkgs/trunk/; revision=26797
2011-04-12 08:08:39 +00:00

13 lines
568 B
Diff

Skip "GRE" registration since that assumes write access to `/etc'.
--- icecat-3.0.1-g1/xulrunner/installer/Makefile.in 2008-07-27 12:52:16.000000000 +0200
+++ icecat-3.0.1-g1/xulrunner/installer/Makefile.in 2008-09-08 17:19:17.000000000 +0200
@@ -71,6 +71,7 @@ $(MOZILLA_VERSION).system.conf: $(topsrc
printf "[%s]\nGRE_PATH=%s\nxulrunner=true\nabi=%s" \
$(MOZILLA_VERSION) $(installdir) $(TARGET_XPCOM_ABI)> $@
+SKIP_GRE_REGISTRATION = yes
ifndef SKIP_GRE_REGISTRATION
# to register xulrunner per-user, override this with $HOME/.gre.d
regdir = /etc/gre.d