pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby24-base ruby24-base: Put -std= in CFLAGS not ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a3a71594aa7
branches:  trunk
changeset: 374607:1a3a71594aa7
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Jan 26 13:22:58 2018 +0000

description:
ruby24-base: Put -std= in CFLAGS not CPPFLAGS.  Bump PKGREVISION.

diffstat:

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

diffs (63 lines):

diff -r e0989c19af97 -r 1a3a71594aa7 lang/ruby24-base/Makefile
--- a/lang/ruby24-base/Makefile Fri Jan 26 13:17:27 2018 +0000
+++ b/lang/ruby24-base/Makefile Fri Jan 26 13:22:58 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2017/09/15 00:39:46 taca Exp $
+# $NetBSD: Makefile,v 1.6 2018/01/26 13:22:58 jperkin Exp $
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-base-${RUBY_VERSION}
+PKGREVISION=   1
 CATEGORIES=    lang ruby
 MASTER_SITES=  ${MASTER_SITE_RUBY}
 
diff -r e0989c19af97 -r 1a3a71594aa7 lang/ruby24-base/distinfo
--- a/lang/ruby24-base/distinfo Fri Jan 26 13:17:27 2018 +0000
+++ b/lang/ruby24-base/distinfo Fri Jan 26 13:22:58 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.6 2018/01/16 14:53:28 jperkin Exp $
+$NetBSD: distinfo,v 1.7 2018/01/26 13:22:58 jperkin Exp $
 
 SHA1 (ruby-2.4.3.tar.bz2) = 3ca96536320b915762d57fe1ee540df6810bf631
 RMD160 (ruby-2.4.3.tar.bz2) = f02b5ca6b577351c8852a99eecaa4d4a3dda026f
 SHA512 (ruby-2.4.3.tar.bz2) = fb4339e30c04d03b1422b6c32ede45902e072cd26325b36f3fc05c341d42eea6431d88718242dcc9ce24d9cad26f3d26772f2e806bd7d93f40be50268c318409
 Size (ruby-2.4.3.tar.bz2) = 12615068 bytes
-SHA1 (patch-configure) = 8efaac42f4441c1ea8075c1a0272b08f24c67bed
+SHA1 (patch-configure) = a4013e4674be0060d2b0d43569b7695f6df7b4a7
 SHA1 (patch-ext_dbm_extconf.rb) = c998f8735db54b1ae2bc8b6caa359ce88bc7a45b
 SHA1 (patch-lib_mkmf.rb) = 75d2261a8282a00cd5f811a5e629302d1667207e
 SHA1 (patch-lib_rdoc_ri_driver.rb) = f4d3e59e35b608acd4edc17916142c7f033e6198
diff -r e0989c19af97 -r 1a3a71594aa7 lang/ruby24-base/patches/patch-configure
--- a/lang/ruby24-base/patches/patch-configure  Fri Jan 26 13:17:27 2018 +0000
+++ b/lang/ruby24-base/patches/patch-configure  Fri Jan 26 13:22:58 2018 +0000
@@ -1,9 +1,10 @@
-$NetBSD: patch-configure,v 1.3 2018/01/16 14:53:28 jperkin Exp $
+$NetBSD: patch-configure,v 1.4 2018/01/26 13:22:58 jperkin Exp $
 
 * Adding Interix support.
 * Ignore doxygen.
 * Ignore VCS.
 * Handle SSP in pkgsrc.
+* Put -std= in CFLAGS not CPPFLAGS.
 
 --- configure.orig     2017-12-14 14:36:11.000000000 +0000
 +++ configure
@@ -33,6 +34,18 @@
  
                    # RUBY_APPEND_OPTIONS(CPPFLAGS)
        for rb_opt in ${ansi_options}; do
+@@ -9333,9 +9334,9 @@ rm -f core conftest.err conftest.$ac_obj
+   *" ${rb_opt} "*) :
+      ;; #(
+   '  ') :
+-     CPPFLAGS="${rb_opt}" ;; #(
++     CFLAGS="${rb_opt}" ;; #(
+   *) :
+-     CPPFLAGS="$CPPFLAGS ${rb_opt}" ;;
++     CFLAGS="$CFLAGS ${rb_opt}" ;;
+ esac
+       done
+                  ;; #(
 @@ -9555,6 +9556,10 @@ esac
        LIBS="-lm $LIBS"
                ac_cv_func_round=no



Home | Main Index | Thread Index | Old Index