summaryrefslogtreecommitdiff
path: root/packages/feh/feh-1.2.6/cross.patch
blob: 0117ced81d2442fad57236f9e1bd519971e7f23d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- feh-1.2.6/./src/Makefile.am~cross
+++ feh-1.2.6/./src/Makefile.am
@@ -2,8 +2,7 @@
 MAINTAINERCLEANFILES = Makefile.in				
 
 LDFLAGS           = -L/usr/X11R6/lib
-INCLUDES          = -I/usr/X11R6/include $(X_CFLAGS) \
-                    -I$(prefix)/include -I$(includedir) \
+INCLUDES          = $(X_CFLAGS) \
                     -I. -I$(top_srcdir)/src \
                     -DPREFIX=\""$(prefix)"\" \
                     @IMLIB_CFLAGS@ @GIBLIB_CFLAGS@
--- feh-1.2.6/./Makefile.am~cross
+++ feh-1.2.6/./Makefile.am
@@ -5,9 +5,8 @@
 # A list of all the files in the current directory which can be regenerated
 MAINTAINERCLEANFILES = Makefile.in feh.spec
 
-LDFLAGS           = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib
-INCLUDES          = -I/usr/X11R6/include \
-$(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I.
+LDFLAGS           = -L/usr/X11R6/lib
+INCLUDES          = $(X_CFLAGS) -I.
 
 man_MANS = feh.1