2020-02-26 14:45:49 +00:00
|
|
|
diff -up ncurses-6.2-20200222/misc/gen-pkgconfig.in.config ncurses-6.2-20200222/misc/gen-pkgconfig.in
|
|
|
|
--- ncurses-6.2-20200222/misc/gen-pkgconfig.in.config 2020-02-12 01:09:26.000000000 +0100
|
|
|
|
+++ ncurses-6.2-20200222/misc/gen-pkgconfig.in 2020-02-26 15:46:18.899263947 +0100
|
|
|
|
@@ -80,7 +80,7 @@ if [ "$includedir" != "/usr/include" ];
|
2019-11-12 08:55:59 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
lib_flags=
|
|
|
|
-for opt in -L$libdir @LDFLAGS@ @EXTRA_LDFLAGS@ @LIBS@
|
|
|
|
+for opt in -L$libdir @LIBS@
|
|
|
|
do
|
|
|
|
case $opt in
|
|
|
|
-l*) # LIBS is handled specially below
|
2020-02-26 14:45:49 +00:00
|
|
|
diff -up ncurses-6.2-20200222/misc/ncurses-config.in.config ncurses-6.2-20200222/misc/ncurses-config.in
|
|
|
|
--- ncurses-6.2-20200222/misc/ncurses-config.in.config 2020-02-03 00:34:34.000000000 +0100
|
|
|
|
+++ ncurses-6.2-20200222/misc/ncurses-config.in 2020-02-26 15:47:12.827386582 +0100
|
|
|
|
@@ -41,7 +41,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@"
|
2020-02-26 14:45:49 +00:00
|
|
|
@@ -101,7 +100,7 @@ fi
|
2019-10-29 16:29:50 +00:00
|
|
|
# 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
|
2019-11-12 08:55:59 +00:00
|
|
|
+for opt in $LIBS
|
2019-10-29 16:29:50 +00:00
|
|
|
do
|
|
|
|
case $opt in
|
2020-02-26 14:45:49 +00:00
|
|
|
-specs*) # ignore linker specs-files which were used to build library
|
|
|
|
@@ -113,9 +112,6 @@ do
|
2019-10-29 16:29:50 +00:00
|
|
|
-L*)
|
|
|
|
[ -d ${opt##-L} ] || continue
|
|
|
|
case ${opt##-L} in
|
|
|
|
- @LD_SEARCHPATH@) # skip standard libdir
|
|
|
|
- continue
|
|
|
|
- ;;
|
|
|
|
*)
|
|
|
|
found=no
|
|
|
|
for check in $lib_flags
|
2020-02-26 14:45:49 +00:00
|
|
|
@@ -235,7 +231,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}"
|