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