summaryrefslogtreecommitdiff
path: root/package/gob2/gob2-dont-include-from-prefix.patch
blob: 1b603d754f8abc52b9040b9c0d659ea8e1ec0e7d (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
32
33
34
35
36
37
38
39
40
[PATCH] Don't search $prefix/include for header files

Don't add $prefix/include to the header file search path, as that breaks
cross compilation (build $prefix/include isn't the same as target
$prefix/include).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 src/Makefile.am |    3 +--
 src/Makefile.in |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

Index: gob2-2.0.15/src/Makefile.am
===================================================================
--- gob2-2.0.15.orig/src/Makefile.am
+++ gob2-2.0.15/src/Makefile.am
@@ -17,8 +17,7 @@ INCLUDES = \
 	-I$(top_builddir)	\
 	-I$(top_builddir)/src	\
 	-I$(top_srcdir)		\
-	-I$(top_srcdir)/src	\
-	-I$(includedir)
+	-I$(top_srcdir)/src
 
 if NOINSTGOB
 noinst_PROGRAMS = @NOINSTGOB@
Index: gob2-2.0.15/src/Makefile.in
===================================================================
--- gob2-2.0.15.orig/src/Makefile.in
+++ gob2-2.0.15/src/Makefile.in
@@ -193,8 +193,7 @@ INCLUDES = \
 	-I$(top_builddir)	\
 	-I$(top_builddir)/src	\
 	-I$(top_srcdir)		\
-	-I$(top_srcdir)/src	\
-	-I$(includedir)
+	-I$(top_srcdir)/src
 
 @NOINSTGOB_TRUE@noinst_PROGRAMS = @NOINSTGOB@
 @NOINSTGOB_FALSE@bin_PROGRAMS = @INSTGOB@