Blame SOURCES/ncurses-config.patch

4f5567
diff -up ncurses-6.1-20180127/misc/ncurses-config.in.config ncurses-6.1-20180127/misc/ncurses-config.in
4f5567
--- ncurses-6.1-20180127/misc/ncurses-config.in.config	2017-12-09 23:45:44.000000000 +0100
4f5567
+++ ncurses-6.1-20180127/misc/ncurses-config.in	2018-01-29 10:57:48.596590822 +0100
4f5567
@@ -40,7 +40,6 @@ exec_prefix="@exec_prefix@"
4f5567
 
4f5567
 bindir="@bindir@"
4f5567
 includedir="@includedir@"
4f5567
-libdir="@libdir@"
4f5567
 datarootdir="@datarootdir@"
4f5567
 datadir="@datadir@"
4f5567
 mandir="@mandir@"
4f5567
@@ -111,12 +110,7 @@ while test $# -gt 0; do
4f5567
 ENDECHO
4f5567
 		;;
4f5567
 	--libs)
4f5567
-		if test "$libdir" = /usr/lib
4f5567
-		then
4f5567
 			LIBDIR=
4f5567
-		else
4f5567
-			LIBDIR=-L$libdir
4f5567
-		fi
4f5567
 		if test @TINFO_NAME@ = @LIB_NAME@ ; then
4f5567
 		sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
4f5567
 			$LIBDIR @EXTRA_LDFLAGS@ -l${THIS} @LIBS@
4f5567
@@ -154,7 +148,6 @@ ENDECHO
4f5567
 		echo $INCS
4f5567
 		;;
4f5567
 	--libdir)
4f5567
-		echo "${libdir}"
4f5567
 		;;
4f5567
 	--mandir)
4f5567
 		echo "${mandir}"