diff options
author | Jack Duvall <jediguy9@gmail.com> | 2020-03-11 12:37:41 -0400 |
---|---|---|
committer | Jack Duvall <jediguy9@gmail.com> | 2020-03-27 17:35:35 -0400 |
commit | 35039d6e54cd50a96fc8511188a8d326d45cd9c6 (patch) | |
tree | 717235df5f167c421e09d50607aeeff269817d68 /patches/ncurses-6.1.local.patch | |
parent | 35a2faf07e9ad3ff232b2c2023103f0ac67a304f (diff) | |
download | midipix_build-35039d6e54cd50a96fc8511188a8d326d45cd9c6.tar.bz2 midipix_build-35039d6e54cd50a96fc8511188a8d326d45cd9c6.tar.xz |
Fix some erraneous -L in config scripts
Diffstat (limited to 'patches/ncurses-6.1.local.patch')
-rw-r--r-- | patches/ncurses-6.1.local.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/ncurses-6.1.local.patch b/patches/ncurses-6.1.local.patch index 3cad8166..a31eb9f8 100644 --- a/patches/ncurses-6.1.local.patch +++ b/patches/ncurses-6.1.local.patch @@ -104,3 +104,19 @@ diff -ru a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in @MAKE_PC_FILES@ done \ @MAKE_PC_FILES@ ;; \ @MAKE_PC_FILES@ (*) \ +diff -ru a/misc/ncurses-config.in b/misc/ncurses-config.in +--- a/misc/ncurses-config.in 2018-01-20 00:27:18.000000000 +0000 ++++ b/misc/ncurses-config.in 2020-03-11 15:38:05.000000000 +0000 +@@ -111,12 +111,7 @@ + ;; + --libs) +- if test "$libdir" = /usr/lib +- then +- LIBDIR= +- else +- LIBDIR=-L$libdir +- fi ++ LIBDIR= + if test @TINFO_NAME@ = @LIB_NAME@ ; then + sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO + $LIBDIR @EXTRA_LDFLAGS@ -l${THIS} @LIBS@ |