pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/muparser muparser: Fix SunOS linker flags and nam...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/493298b3200d
branches:  trunk
changeset: 374594:493298b3200d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Jan 26 09:48:46 2018 +0000

description:
muparser: Fix SunOS linker flags and naming.

diffstat:

 math/muparser/distinfo         |   4 ++--
 math/muparser/patches/patch-aa |  23 ++++++++++++++++++-----
 2 files changed, 20 insertions(+), 7 deletions(-)

diffs (64 lines):

diff -r 7af973a0257b -r 493298b3200d math/muparser/distinfo
--- a/math/muparser/distinfo    Fri Jan 26 09:41:53 2018 +0000
+++ b/math/muparser/distinfo    Fri Jan 26 09:48:46 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 23:33:37 agc Exp $
+$NetBSD: distinfo,v 1.8 2018/01/26 09:48:46 jperkin Exp $
 
 SHA1 (muparser_v2_2_2.zip) = 830383b1bcfa706be5a6ac8b7ba43f32f16a1497
 RMD160 (muparser_v2_2_2.zip) = efcaea175523b2e7b3e0d2abaf1ee8767d142da3
 SHA512 (muparser_v2_2_2.zip) = e4abe1ba108e928340054834e8efd101b6d0feef672df6ec04cdf27862bc4fea7c3443f0e02dc6dd8cb813e66157879ca1ce1755cecae7d81ac89eccaec29b1d
 Size (muparser_v2_2_2.zip) = 1508675 bytes
-SHA1 (patch-aa) = ce9187280bdaf5c00765723b01412b232fcbe4d7
+SHA1 (patch-aa) = b72bc06e4407cbf4641c985564a9f7bf0c2c8a6e
 SHA1 (patch-src_muParserTest.cpp) = da3e3b3916cdc158513ef40dda8c10ddf8c87840
diff -r 7af973a0257b -r 493298b3200d math/muparser/patches/patch-aa
--- a/math/muparser/patches/patch-aa    Fri Jan 26 09:41:53 2018 +0000
+++ b/math/muparser/patches/patch-aa    Fri Jan 26 09:48:46 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2011/12/16 17:16:11 marino Exp $
+$NetBSD: patch-aa,v 1.3 2018/01/26 09:48:46 jperkin Exp $
 
---- configure.orig     2010-09-04 13:01:39.000000000 +0000
+--- configure.orig     2012-02-19 20:20:34.000000000 +0000
 +++ configure
-@@ -6733,7 +6733,7 @@ $as_echo "$bakefile_cv_gcc31" >&6; }
+@@ -5980,7 +5980,7 @@ $as_echo "$bakefile_cv_gcc31" >&6; }
              SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
          fi
  
@@ -11,7 +11,7 @@
              PIC_FLAG="-dynamic -fPIC"
          fi
          if test "x$XLCC" = "xyes"; then
-@@ -7301,6 +7301,7 @@ EOF
+@@ -6548,6 +6548,7 @@ EOF
        ;;
  
        powerpc-apple-macos* | \
@@ -19,7 +19,7 @@
        *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
        *-*-mirbsd* | \
        *-*-sunos4* | \
-@@ -7343,7 +7344,7 @@ EOF
+@@ -6590,7 +6591,7 @@ EOF
  
      case "${BAKEFILE_HOST}" in
        *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
@@ -28,3 +28,16 @@
          if test "x$SUNCXX" = "xyes"; then
              SONAME_FLAG="-h "
          else
+@@ -6602,9 +6603,10 @@ EOF
+       ;;
+ 
+       *-*-solaris2* )
+-        SONAME_FLAG="-h "
++        SONAME_FLAG="-Wl,-h,"
+         USE_SOVERSION=1
+-        USE_SOVERSOLARIS=1
++        USE_SOVERLINUX=1
++        USE_SOTWOSYMLINKS=1
+       ;;
+ 
+       *-*-darwin* )



Home | Main Index | Thread Index | Old Index