]> git.ipfire.org Git - ipfire-3.x.git/blame - dialog/patches/dialog-incdir.patch
git: Update to 2.23.0
[ipfire-3.x.git] / dialog / patches / dialog-incdir.patch
CommitLineData
d68f6365
MT
1diff -up dialog-1.1-20110707/dialog-config.in.incdir dialog-1.1-20110707/dialog-config.in
2--- dialog-1.1-20110707/dialog-config.in.incdir 2011-01-06 10:38:03.000000000 +0100
3+++ dialog-1.1-20110707/dialog-config.in 2011-07-26 13:00:02.692038027 +0200
4@@ -35,6 +35,7 @@ bindir="@bindir@"
5 libdir="@libdir@"
6 datadir="@datadir@"
7 mandir="@mandir@"
8+includedir="@includedir@"
9
10 THIS="@PACKAGE@"
11
12@@ -67,10 +68,7 @@ while test $# -gt 0; do
13 ;;
14 # compile/link
15 --cflags)
16- INCS=
17- if test "${prefix}/include" != /usr/include ; then
18- INCS="-I${prefix}/include"
19- fi
20+ INCS="-I$includedir"
21 sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
22 $INCS
23 ENDECHO