[patch] build error when gconf1 ist not installed



Hi,
garnome currently relies on gconf1 being installed:

 ==> Configuring cross-prefix GARNOME compatibility...
 grep: /etc/gconf/1/path: No such file or directory
 make[7]: *** [post-install] Error 2

Possible patch attached.
Regards,
 -- Guido

-- 
                              Less Talk, More Rock
--- gnome/GConf/Makefile.orig	Fri May 24 11:02:47 2002
+++ gnome/GConf/Makefile	Fri May 24 11:04:53 2002
@@ -21,4 +21,4 @@
 post-install:
 	@echo " ==> Configuring cross-prefix GARNOME compatibility..."
 	@$(prefix)/bin/gconftool-2 --get-default-source > $(sysconfdir)/gconf/schema-install-source
-	@grep gconf.xml /etc/gconf/1/path >> $(sysconfdir)/gconf/2/path
+	@if [ -f /etc/gconf/1/path ]; then grep gconf.xml /etc/gconf/1/path >> $(sysconfdir)/gconf/2/path; fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]