ncurses/ncurses-config.patch

39 lines
1.1 KiB
Diff
Raw Normal View History

diff -up ncurses-6.1-20191026/misc/ncurses-config.in.config ncurses-6.1-20191026/misc/ncurses-config.in
--- ncurses-6.1-20191026/misc/ncurses-config.in.config 2019-10-12 23:25:17.000000000 +0200
+++ ncurses-6.1-20191026/misc/ncurses-config.in 2019-10-29 17:20:18.948451282 +0100
2018-01-29 10:43:16 +00:00
@@ -40,7 +40,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@"
@@ -100,7 +99,7 @@ fi
# There is no portable way to find the list of standard library directories.
# Require a POSIX shell anyway, to keep this simple.
lib_flags=
-for opt in -L$libdir @LDFLAGS@ @EXTRA_LDFLAGS@ $LIBS
+for opt in @LDFLAGS@ @EXTRA_LDFLAGS@ $LIBS
do
case $opt in
-Wl,-z,*) # ignore flags used to manipulate shared image
@@ -109,9 +108,6 @@ do
-L*)
[ -d ${opt##-L} ] || continue
case ${opt##-L} in
- @LD_SEARCHPATH@) # skip standard libdir
- continue
- ;;
*)
found=no
for check in $lib_flags
@@ -231,7 +227,6 @@ ENDECHO
2018-01-29 10:43:16 +00:00
echo $INCS
;;
--libdir)
- echo "${libdir}"
;;
--mandir)
echo "${mandir}"