2019-10-29 16:29:50 +00:00
|
|
|
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@"
|
2010-07-14 15:01:27 +00:00
|
|
|
|
|
|
|
bindir="@bindir@"
|
|
|
|
includedir="@includedir@"
|
|
|
|
-libdir="@libdir@"
|
2012-10-15 14:48:11 +00:00
|
|
|
datarootdir="@datarootdir@"
|
2010-07-14 15:01:27 +00:00
|
|
|
datadir="@datadir@"
|
|
|
|
mandir="@mandir@"
|
2019-10-29 16:29:50 +00:00
|
|
|
@@ -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
|
2010-07-14 15:01:27 +00:00
|
|
|
;;
|
|
|
|
--libdir)
|
|
|
|
- echo "${libdir}"
|
|
|
|
;;
|
|
|
|
--mandir)
|
|
|
|
echo "${mandir}"
|