pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby25-base ruby25-base: Fix build and install on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/603f02f6e3d4
branches:  trunk
changeset: 374154:603f02f6e3d4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 17 11:19:46 2018 +0000

description:
ruby25-base: Fix build and install on Darwin.

diffstat:

 lang/ruby25-base/Makefile                |   4 +++-
 lang/ruby25-base/distinfo                |   4 ++--
 lang/ruby25-base/patches/patch-configure |  18 +++++++++++++-----
 3 files changed, 18 insertions(+), 8 deletions(-)

diffs (87 lines):

diff -r 050fd0385dd0 -r 603f02f6e3d4 lang/ruby25-base/Makefile
--- a/lang/ruby25-base/Makefile Wed Jan 17 09:06:18 2018 +0000
+++ b/lang/ruby25-base/Makefile Wed Jan 17 11:19:46 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/01/08 14:19:06 taca Exp $
+# $NetBSD: Makefile,v 1.2 2018/01/17 11:19:46 jperkin Exp $
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-base-${RUBY_VERSION}
@@ -28,6 +28,8 @@
 CONFIGURE_ARGS+= --with-ruby-pc="ruby-${RUBY_VERSION}.pc"
 .endif
 
+CONFIGURE_ENV.Darwin+= ac_cv_prog_dsymutil=
+
 DOCS=  BSDL COPYING COPYING.ja ChangeLog LEGAL NEWS README.EXT README.EXT.ja \
        README.ja.md README.md doc/ChangeLog-1.8.0 doc/ChangeLog-1.9.3 \
        doc/ChangeLog-2.0.0 doc/ChangeLog-2.1.0 doc/ChangeLog-2.2.0 \
diff -r 050fd0385dd0 -r 603f02f6e3d4 lang/ruby25-base/distinfo
--- a/lang/ruby25-base/distinfo Wed Jan 17 09:06:18 2018 +0000
+++ b/lang/ruby25-base/distinfo Wed Jan 17 11:19:46 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.2 2018/01/16 14:53:28 jperkin Exp $
+$NetBSD: distinfo,v 1.3 2018/01/17 11:19:46 jperkin Exp $
 
 SHA1 (ruby-2.5.0.tar.bz2) = 827b9a3bcffa86d1fc9ed96d403cb9dc37731688
 RMD160 (ruby-2.5.0.tar.bz2) = e09d8b3f89d3b494231026cf1295c5bf5da794e5
 SHA512 (ruby-2.5.0.tar.bz2) = 8f6fdf6708e7470f55bc009db2567cd8d4e633ad0678d83a015441ecf5b5d88bd7da8fb8533a42157ff83b74d00b6dc617d39bbb17fc2c6c12287a1d8eaa0f2c
 Size (ruby-2.5.0.tar.bz2) = 13955820 bytes
-SHA1 (patch-configure) = 347bdd41a2529cfe77ffbe053a6941756dffe694
+SHA1 (patch-configure) = 5e7e4f1ef02d0b094bedc772133d405b3c41521b
 SHA1 (patch-ext_dbm_extconf.rb) = c998f8735db54b1ae2bc8b6caa359ce88bc7a45b
 SHA1 (patch-lib_mkmf.rb) = 75d2261a8282a00cd5f811a5e629302d1667207e
 SHA1 (patch-lib_rdoc_ri_driver.rb) = f4d3e59e35b608acd4edc17916142c7f033e6198
diff -r 050fd0385dd0 -r 603f02f6e3d4 lang/ruby25-base/patches/patch-configure
--- a/lang/ruby25-base/patches/patch-configure  Wed Jan 17 09:06:18 2018 +0000
+++ b/lang/ruby25-base/patches/patch-configure  Wed Jan 17 11:19:46 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.2 2018/01/16 14:53:28 jperkin Exp $
+$NetBSD: patch-configure,v 1.3 2018/01/17 11:19:46 jperkin Exp $
 
 * Adding Interix support.
 * Ignore doxygen.
@@ -72,7 +72,15 @@
        LIBRUBY_SONAME='$(LIBRUBY_SO)'
        if test "$rb_cv_binary_elf" != "yes" ; then :
  
-@@ -26334,7 +26343,12 @@ fi
+@@ -26326,6 +26335,7 @@ fi
+           LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "'-Wl,-unexported_symbol,*_threadptr_*'
+ 
+ fi
++      RUBY_SO_NAME="${RUBY_SO_NAME}"'.$(RUBY_PROGRAM_VERSION)'
+       LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "' $(XLDFLAGS)'
+       LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT)'
+       LIBRUBY_SONAME='lib$(RUBY_BASE_NAME).$(RUBY_API_VERSION).$(SOEXT)'
+@@ -26334,7 +26344,12 @@ fi
         ;; #(
    interix*) :
  
@@ -86,7 +94,7 @@
         ;; #(
    mingw*|cygwin*|mswin*) :
  
-@@ -26516,7 +26530,7 @@ if test "$enable_rpath" = yes; then :
+@@ -26516,7 +26531,7 @@ if test "$enable_rpath" = yes; then :
  esac
      rpathflag=`IFS="$PATH_SEPARATOR"
          echo x "$rpathflag" |
@@ -95,7 +103,7 @@
      `
      LIBRUBY_RPATHFLAGS="$LIBRUBY_RPATHFLAGS${rpathflag}"
      LIBRUBYARG_SHARED="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_SHARED"
-@@ -27058,15 +27072,7 @@ fi
+@@ -27058,15 +27073,7 @@ fi
  
  if test "$install_doc" != no; then :
  
@@ -112,7 +120,7 @@
      if test "$install_capi" != no -a -n "$DOXYGEN"; then :
  
        CAPITARGET="capi"
-@@ -29143,31 +29149,7 @@ which seems to be undefined.  Please mak
+@@ -29143,31 +29152,7 @@ which seems to be undefined.  Please mak
      "Makefile":F)
      tmpmk=confmk$$.tmp
      {



Home | Main Index | Thread Index | Old Index