Blame SOURCES/ncurses-config.patch

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