SHA256
1
0
forked from pool/gvfs
gvfs/gvfs-no-querymodule-on-install.patch
Vincent Untz 5220089321 Accepting request 32542 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/gvfs via accept of submit request 32542 revision 2.
Request was accepted with message:
ok

OBS-URL: https://build.opensuse.org/request/show/32542
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gvfs?expand=0&rev=67
2010-02-14 17:47:13 +00:00

29 lines
836 B
Diff

From f609ecec4e8c23659cbd0ebd4c7357d2969dc7cc Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@gnome.org>
Date: Sun, 14 Feb 2010 18:38:04 +0100
Subject: [PATCH] Do not call gio-querymodules on install when DESTDIR is set
This is a bug introduced in a18a1896c0bceaf9a467f00a9678e322d615e786. We
want to call gio-querymodules on install, except when building a
package.
---
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 4dde338..25f939a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,7 +33,7 @@ distclean-local:
fi
install-data-hook:
- if test ! -z "$(DESTDIR)" -a "$(GIO_QUERYMODULES)" != "no" ; then \
+ if test -z "$(DESTDIR)" -a "$(GIO_QUERYMODULES)" != "no" ; then \
$(GIO_QUERYMODULES) $(DESTDIR)$(giomodulesdir) ; \
fi
--
1.6.6.1