freebsd-ports/games/exult/files/patch-tools_Makefile.am
Mathieu Arnold 58ddbe48dd Update to version 1.5.0.20160514
PR:		210790
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-07-04 13:24:02 +00:00

29 lines
927 B
Text

--- tools/Makefile.am.orig 2016-05-14 01:04:00 UTC
+++ tools/Makefile.am
@@ -56,11 +56,11 @@ if BUILD_GTHUMB
## Does not work:
#thumbnailerdir=$(datadir)/thumbnailers
## Needs to be in /usr/share/thumbnailers
-thumbnailerdir=/usr/share/thumbnailers
+thumbnailerdir=$(datadir)/thumbnailers
thumbnailer_in_files=gnome_u7shapes.thumbnailer.in
thumbnailer_DATA=$(thumbnailer_in_files:.thumbnailer.in=.thumbnailer)
gnome_shp_thumbnailer_DATA=x-shapefile.xml
-gnome_shp_thumbnailerdir=$(DESTDIR)$(datadir)/mime/packages
+gnome_shp_thumbnailerdir=$(datadir)/mime/packages
# Rule to make the service file with bindir expanded
$(thumbnailer_DATA): $(thumbnailer_in_files)
@@ -99,10 +99,10 @@ cmanip_LDADD = \
if BUILD_GTHUMB
install-data-hook:
- update-mime-database $(DESTDIR)$(datadir)/mime || :
+ :
uninstall-hook:
- update-mime-database $(DESTDIR)$(datadir)/mime || :
+ :
else
install-data-hook:
uninstall-hook: