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