openbsd-ports/devel/gconf2/patches/patch-gconf_Makefile_in
jasper 4cb508f06a - update gconf2 to 2.22.0
(mostly bug/build/doc fixes)
2008-04-29 18:23:56 +00:00

28 lines
1.2 KiB
Plaintext

$OpenBSD: patch-gconf_Makefile_in,v 1.11 2008/04/29 18:23:56 jasper Exp $
--- gconf/Makefile.in.orig Mon Mar 10 15:54:18 2008
+++ gconf/Makefile.in Tue Apr 29 20:06:19 2008
@@ -303,7 +303,7 @@ INCLUDES = \
-DGCONF_LOCALE_DIR=\""$(datadir)/locale"\" \
-DGCONF_SRCDIR=\""$(absolute_top_srcdir)"\" \
-DGCONF_CONFDIR=\""$(sysgconfdir)/$(MAJOR_VERSION)"\" \
- -DGCONF_ETCDIR=\""$(sysgconfdir)"\" \
+ -DGCONF_ETCDIR=\""/var/db/"\" \
-DGCONF_BINDIR=\""$(bindir)"\" \
-DGCONF_SERVERDIR=\""$(libexecdir)"\" \
-DGCONF_BUILDDIR=\""$(top_builddir)"\" \
@@ -795,11 +795,11 @@ default.path: $(srcdir)/default.path.in
<$(srcdir)/default.path.in >default.path
install-data-local: default.path
- $(mkinstalldirs) $(DESTDIR)$(sysgconfdir)/$(MAJOR_VERSION)
- if test -f $(DESTDIR)$(sysgconfdir)/$(MAJOR_VERSION)/path; then \
+ $(mkinstalldirs) $(DESTDIR)$(datarootdir)/examples/gconf2/
+ if test -f $(DESTDIR)$(datarootdir)/examples/gconf2/path; then \
echo "Existing path configuration file not changed"; \
else \
- $(INSTALL_DATA) default.path $(DESTDIR)$(sysgconfdir)/$(MAJOR_VERSION)/path; \
+ $(INSTALL_DATA) default.path $(DESTDIR)$(datarootdir)/examples/gconf2/path; \
fi
uninstall-local: