summaryrefslogtreecommitdiffstats
path: root/patches/blackbox-0.70.1/generic/blackbox-0.70.1-cppflags.diff
blob: 2efb911f4abfebbaa3691fa23f673a155623b4d2 (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
41
# 
# Submitted-By: Robert Schwebel, 2006-02-27
# Committed-By: Robert Schwebel
#
# Error: 
#
# Unspecified include paths are leaking in. 
#
# Description: 
#
# I'm not sure how somebody can invent such a braindamaged mechanism...
# Note: prefix is specifying the run path, which isn't necessarily the
# install path. 
#
# State:
# 
# Make configure.ac patch for upstream (not done yet). 
#

diff -urN blackbox-0.70.1/configure blackbox-0.70.1-ptx/configure
--- blackbox-0.70.1/configure	2005-11-03 09:27:16.000000000 +0100
+++ blackbox-0.70.1-ptx/configure	2006-02-27 20:06:54.000000000 +0100
@@ -1980,12 +1980,12 @@
 
 test "x$prefix" = "xNONE" && prefix="$ac_default_prefix"
 
-CPPFLAGS="$CPPFLAGS -I$prefix/include"
-LDFLAGS="$LDFLAGS -L$prefix/lib"
-if test "x$prefix" != "x/usr/local"; then
-  CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-  LDFLAGS="$LDFLAGS -L/usr/local/lib"
-fi
+# CPPFLAGS="$CPPFLAGS -I$prefix/include"
+# LDFLAGS="$LDFLAGS -L$prefix/lib"
+# if test "x$prefix" != "x/usr/local"; then
+#   CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+#   LDFLAGS="$LDFLAGS -L/usr/local/lib"
+# fi
 
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'