ncurses/ncurses-config.patch

33 lines
862 B
Diff
Raw Normal View History

2011-07-18 14:42:26 +00:00
diff -up ncurses-5.9/misc/ncurses-config.in.config ncurses-5.9/misc/ncurses-config.in
2012-10-15 14:48:11 +00:00
--- ncurses-5.9/misc/ncurses-config.in.config 2012-10-15 15:33:36.092521158 +0200
+++ ncurses-5.9/misc/ncurses-config.in 2012-10-15 15:34:55.906581012 +0200
@@ -35,7 +35,6 @@ exec_prefix="@exec_prefix@"
bindir="@bindir@"
includedir="@includedir@"
-libdir="@libdir@"
2012-10-15 14:48:11 +00:00
datarootdir="@datarootdir@"
datadir="@datadir@"
mandir="@mandir@"
2012-10-15 14:48:11 +00:00
@@ -85,12 +84,7 @@ while test $# -gt 0; do
2011-07-18 14:42:26 +00:00
ENDECHO
;;
--libs)
2011-07-18 14:42:26 +00:00
- if test "$libdir" = /usr/lib
- then
LIBDIR=
- else
- LIBDIR=-L$libdir
- fi
if test @TINFO_NAME@ = @LIB_NAME@ ; then
sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
2011-07-18 14:42:26 +00:00
$LIBDIR @EXTRA_LDFLAGS@ -l${THIS} @LIBS@
2012-10-15 14:48:11 +00:00
@@ -122,7 +116,6 @@ ENDECHO
echo "${includedir}"
;;
--libdir)
- echo "${libdir}"
;;
--mandir)
echo "${mandir}"