summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-06-22 14:00:47 +0000
committernia <nia@pkgsrc.org>2021-06-22 14:00:47 +0000
commit95101922be0914214d74f2e815c42f628a11dc29 (patch)
treeef17ced762c728d59bf675fdba26a4cecd08f613
parent7313f14438fdd7880e5e0868b8d191f5bf1678cd (diff)
downloadpkgsrc-95101922be0914214d74f2e815c42f628a11dc29.tar.gz
libquadmath: Do not install libraries to multi_os_directory
-rw-r--r--math/libquadmath/distinfo3
-rw-r--r--math/libquadmath/patches/patch-libquadmath_configure25
2 files changed, 27 insertions, 1 deletions
diff --git a/math/libquadmath/distinfo b/math/libquadmath/distinfo
index 81ecc89612d..459d7abd001 100644
--- a/math/libquadmath/distinfo
+++ b/math/libquadmath/distinfo
@@ -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 --git a/math/libquadmath/patches/patch-libquadmath_configure b/math/libquadmath/patches/patch-libquadmath_configure
new file mode 100644
index 00000000000..f8bedaeafae
--- /dev/null
+++ b/math/libquadmath/patches/patch-libquadmath_configure
@@ -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