pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/libquadmath libquadmath: Do not install libraries...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43035c2246c6
branches:  trunk
changeset: 454840:43035c2246c6
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jun 22 14:00:47 2021 +0000

description:
libquadmath: Do not install libraries to multi_os_directory

diffstat:

 math/libquadmath/distinfo                            |   3 +-
 math/libquadmath/patches/patch-libquadmath_configure |  25 ++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 9fa1612ccec0 -r 43035c2246c6 math/libquadmath/distinfo
--- a/math/libquadmath/distinfo Tue Jun 22 12:35:44 2021 +0000
+++ b/math/libquadmath/distinfo Tue Jun 22 14:00:47 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2021/05/16 10:10:54 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/06/22 14:00:47 nia Exp $
 
 SHA1 (gcc-11.1.0.tar.xz) = 9db7917f4ce337026335430814de0a5e991ec6c1
 RMD160 (gcc-11.1.0.tar.xz) = 083384ca351ea1cb6e04d15425af2103c908edf4
 SHA512 (gcc-11.1.0.tar.xz) = fd6bba0f67ff48069d03073d1a9b5e896383b1cfc9dde008e868e60a9ec5014a837d56af0ecbf467b3fb9b37ec74a676e819a18b44393a0a3c4280175b5d7ad8
 Size (gcc-11.1.0.tar.xz) = 78877216 bytes
+SHA1 (patch-libquadmath_configure) = 81e49265a8cfed3c31d43246a2fb5f96e1030582
diff -r 9fa1612ccec0 -r 43035c2246c6 math/libquadmath/patches/patch-libquadmath_configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libquadmath/patches/patch-libquadmath_configure      Tue Jun 22 14:00:47 2021 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-libquadmath_configure,v 1.1 2021/06/22 14:00:47 nia Exp $
+
+Do not use multi-lib directories for library installation,
+always install to /lib.
+
+--- libquadmath/configure.orig 2021-04-27 10:00:15.000000000 +0000
++++ libquadmath/configure
+@@ -9714,7 +9714,7 @@ if test "$GCC" = yes; then
+   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+   for lt_sys_path in $lt_search_path_spec; do
+     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
+-      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
++      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+     else
+       test -d "$lt_sys_path" && \
+       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+@@ -12130,7 +12130,7 @@ case ${version_specific_libs} in
+     multi_os_directory=`$CC -print-multi-os-directory`
+     case $multi_os_directory in
+       .) ;; # Avoid trailing /.
+-      *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
++      *) toolexeclibdir=$toolexeclibdir ;;
+     esac
+     ;;
+ esac



Home | Main Index | Thread Index | Old Index