Blame SOURCES/dialog-incdir.patch
|
|
930b4d |
diff -up dialog-1.1-20110707/dialog-config.in.incdir dialog-1.1-20110707/dialog-config.in
|
|
|
930b4d |
--- dialog-1.1-20110707/dialog-config.in.incdir 2011-01-06 10:38:03.000000000 +0100
|
|
|
930b4d |
+++ dialog-1.1-20110707/dialog-config.in 2011-07-26 13:00:02.692038027 +0200
|
|
|
930b4d |
@@ -35,6 +35,7 @@ bindir="@bindir@"
|
|
|
930b4d |
libdir="@libdir@"
|
|
|
930b4d |
datadir="@datadir@"
|
|
|
930b4d |
mandir="@mandir@"
|
|
|
930b4d |
+includedir="@includedir@"
|
|
|
930b4d |
|
|
|
930b4d |
THIS="@PACKAGE@"
|
|
|
930b4d |
|
|
|
930b4d |
@@ -67,10 +68,7 @@ while test $# -gt 0; do
|
|
|
930b4d |
;;
|
|
|
930b4d |
# compile/link
|
|
|
930b4d |
--cflags)
|
|
|
930b4d |
- INCS=
|
|
|
930b4d |
- if test "${prefix}/include" != /usr/include ; then
|
|
|
930b4d |
- INCS="-I${prefix}/include"
|
|
|
930b4d |
- fi
|
|
|
930b4d |
+ INCS="-I$includedir"
|
|
|
930b4d |
sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
|
|
|
930b4d |
$INCS
|
|
|
930b4d |
ENDECHO
|