pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/ruby-ming multimedia/ruby-ming: fix build p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ddff47dc0d8
branches:  trunk
changeset: 408977:6ddff47dc0d8
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Jan 14 14:40:42 2020 +0000

description:
multimedia/ruby-ming: fix build problem on native X

Fix build problem on native X with CHECK_SHLIBS is enabled.

diffstat:

 multimedia/ruby-ming/Makefile               |   4 +++-
 multimedia/ruby-ming/distinfo               |   4 ++--
 multimedia/ruby-ming/patches/patch-setup.rb |  15 ++++++++++++---
 3 files changed, 17 insertions(+), 6 deletions(-)

diffs (63 lines):

diff -r a3b9cc293c89 -r 6ddff47dc0d8 multimedia/ruby-ming/Makefile
--- a/multimedia/ruby-ming/Makefile     Tue Jan 14 14:36:15 2020 +0000
+++ b/multimedia/ruby-ming/Makefile     Tue Jan 14 14:40:42 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2017/09/04 18:00:58 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2020/01/14 14:40:42 taca Exp $
 
 DISTNAME=      ming-ruby-${VER}
 PKGNAME=       ${RUBY_PKGPREFIX}-ming-${VER}
@@ -22,6 +22,8 @@
 CONFIGURE_ARGS+=       --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE}
 CONFIGURE_ARGS+=       --siterubyver=${PREFIX}/${RUBY_VENDORLIB}
 CONFIGURE_ARGS+=       --siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB}
+# pass more options to extconf.rb
+CONFIGURE_ARGS+=       -- --with-freetype-dir=${BUILDLINK_PREFIX.freetype2}
 
 SUBST_CLASSES+=                giflib
 SUBST_STAGE.giflib=    pre-configure
diff -r a3b9cc293c89 -r 6ddff47dc0d8 multimedia/ruby-ming/distinfo
--- a/multimedia/ruby-ming/distinfo     Tue Jan 14 14:36:15 2020 +0000
+++ b/multimedia/ruby-ming/distinfo     Tue Jan 14 14:40:42 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 23:54:32 agc Exp $
+$NetBSD: distinfo,v 1.12 2020/01/14 14:40:42 taca Exp $
 
 SHA1 (ming-ruby-0.2.1.tar.gz) = 942829a4085afb2645e6b098b72bd24badb8f0ef
 RMD160 (ming-ruby-0.2.1.tar.gz) = 7ddde8b9912bdd1608a7af8b23464a5fc63b9306
@@ -10,4 +10,4 @@
 SHA1 (patch-ad) = 6a62e023b934f528f9247bae24c28829f35d1c25
 SHA1 (patch-ext_ming_mingc_swfcxform.c) = fae47d061d2088c27c056b66cec3ea45fc8bfe4b
 SHA1 (patch-ext_ming_mingc_swfdisplayitem.c) = 134f713c96454b9dec4851ccdcd2310ef24cc540
-SHA1 (patch-setup.rb) = d64c1babfae090cf8868a66c0bcd220ccba9a0a2
+SHA1 (patch-setup.rb) = 7afde44f83425905ecdcef273bf0948d9f62d468
diff -r a3b9cc293c89 -r 6ddff47dc0d8 multimedia/ruby-ming/patches/patch-setup.rb
--- a/multimedia/ruby-ming/patches/patch-setup.rb       Tue Jan 14 14:36:15 2020 +0000
+++ b/multimedia/ruby-ming/patches/patch-setup.rb       Tue Jan 14 14:40:42 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-setup.rb,v 1.1 2015/06/08 14:55:17 taca Exp $
+$NetBSD: patch-setup.rb,v 1.2 2020/01/14 14:40:42 taca Exp $
 
-Fix build problem on Ruby 2.2 and later.
+* Fix build problem on Ruby 2.2 and later.
+* Remove duplicated line.
 
 --- setup.rb.orig      2004-10-30 14:17:39.000000000 +0000
 +++ setup.rb
@@ -13,7 +14,15 @@
  
  rubypath = c['bindir'] + '/' + c['ruby_install_name']
  
-@@ -1246,7 +1246,7 @@ class Installer
+@@ -355,7 +355,6 @@ class ConfigTable_class   # open again
+     'site-ruby-common' => 'siteruby',     # For backward compatibility
+     'site-ruby'        => 'siterubyver',  # For backward compatibility
+     'bin-dir'          => 'bindir',
+-    'bin-dir'          => 'bindir',
+     'rb-dir'           => 'rbdir',
+     'so-dir'           => 'sodir',
+     'data-dir'         => 'datadir',
+@@ -1246,7 +1245,7 @@ class Installer
  
    def ruby_extentions(dir)
      Dir.open(dir) {|d|



Home | Main Index | Thread Index | Old Index