2022-11-29 16:21:17 +00:00
|
|
|
diff -up ncurses-6.3-20221126/misc/gen-pkgconfig.in.config ncurses-6.3-20221126/misc/gen-pkgconfig.in
|
|
|
|
--- ncurses-6.3-20221126/misc/gen-pkgconfig.in.config 2022-10-08 18:45:20.000000000 +0200
|
|
|
|
+++ ncurses-6.3-20221126/misc/gen-pkgconfig.in 2022-11-29 17:04:43.353766420 +0100
|
2021-03-11 11:39:57 +00:00
|
|
|
@@ -83,7 +83,7 @@ if [ "$includedir" != "/usr/include" ];
|
2019-11-12 08:55:59 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
lib_flags=
|
2021-05-04 14:00:36 +00:00
|
|
|
-for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ @LIBS@
|
2019-11-12 08:55:59 +00:00
|
|
|
+for opt in -L$libdir @LIBS@
|
|
|
|
do
|
|
|
|
case $opt in
|
|
|
|
-l*) # LIBS is handled specially below
|
2022-11-29 16:21:17 +00:00
|
|
|
diff -up ncurses-6.3-20221126/misc/ncurses-config.in.config ncurses-6.3-20221126/misc/ncurses-config.in
|
|
|
|
--- ncurses-6.3-20221126/misc/ncurses-config.in.config 2022-07-26 23:36:28.000000000 +0200
|
|
|
|
+++ ncurses-6.3-20221126/misc/ncurses-config.in 2022-11-29 17:06:04.381597412 +0100
|
2020-02-26 14:45:49 +00:00
|
|
|
@@ -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
|
2022-04-19 14:37:42 +00:00
|
|
|
# There is no portable way to find the list of standard library directories.
|
2019-10-29 16:29:50 +00:00
|
|
|
# Require a POSIX shell anyway, to keep this simple.
|
|
|
|
lib_flags=
|
2021-05-04 14:00:36 +00:00
|
|
|
-for opt in -L$libdir @EXTRA_PKG_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
|
2022-11-29 16:21:17 +00:00
|
|
|
@@ -120,13 +119,13 @@ do
|
2021-05-04 14:00:36 +00:00
|
|
|
lib_check=`echo "x$opt" | sed -e 's/^.-L//'`
|
2021-03-11 11:39:57 +00:00
|
|
|
[ -d "$lib_check" ] || continue
|
|
|
|
case "$lib_check" in
|
2019-10-29 16:29:50 +00:00
|
|
|
- @LD_SEARCHPATH@) # skip standard libdir
|
2021-03-11 11:39:57 +00:00
|
|
|
+ ////) # skip standard libdir (disabled for multilib)
|
|
|
|
if [ "$lib_check" = "$libdir" ]
|
|
|
|
then
|
|
|
|
lib_first=yes
|
|
|
|
IFS_save="$IFS"
|
|
|
|
IFS='|'
|
|
|
|
- LIBDIRS="@LD_SEARCHPATH@"
|
|
|
|
+ LIBDIRS=""
|
|
|
|
for lib_check in $LIBDIRS
|
|
|
|
do
|
|
|
|
if [ -d "$lib_check" ]
|
2022-11-29 16:21:17 +00:00
|
|
|
@@ -274,7 +273,6 @@ ENDECHO
|
|
|
|
echo "$INCS"
|
2010-07-14 15:01:27 +00:00
|
|
|
;;
|
|
|
|
--libdir)
|
|
|
|
- echo "${libdir}"
|
|
|
|
;;
|
|
|
|
--mandir)
|
|
|
|
echo "${mandir}"
|