File gimp-save-for-web-0.27.0-docdir.patch of Package gimp-save-for-web

Index: help/en/Makefile.am
===================================================================
--- help/en/Makefile.am.orig	2008-01-31 13:45:29.000000000 +0100
+++ help/en/Makefile.am	2008-02-13 02:08:17.000000000 +0100
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-helpdatadir = $(DATADIR)/help/en
+helpdatadir = $(docdir)/help/en
 
 helpdata_DATA = \
 	gimp-help.xml	\
Index: help/images/Makefile.am
===================================================================
--- help/images/Makefile.am.orig	2008-01-31 13:45:29.000000000 +0100
+++ help/images/Makefile.am	2008-02-13 02:08:17.000000000 +0100
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-helpdatadir = $(DATADIR)/help/images
+helpdatadir = $(docdir)/help/images
 
 helpdata_DATA = \
 	wilber.png
Index: src/Makefile.am
===================================================================
--- src/Makefile.am.orig	2008-01-31 13:45:29.000000000 +0100
+++ src/Makefile.am	2008-02-13 02:12:14.000000000 +0100
@@ -4,7 +4,7 @@ if OS_WIN32
 mwindows = -mwindows
 endif
 
-AM_LDFLAGS = $(mwindows)
+AM_LDFLAGS = -Wl,--as-needed $(mwindows)
 
 SUBDIRS = cursors
 
openSUSE Build Service is sponsored by