pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby27-base lang/ruby27-base: trivial fixes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90d088cec1f8
branches:  trunk
changeset: 446953:90d088cec1f8
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Feb 14 15:31:23 2021 +0000

description:
lang/ruby27-base: trivial fixes

* Do not REPLACE_RUBY for nonexistent files.
* Fix include guard for hack.mk.

diffstat:

 lang/ruby27-base/Makefile |  6 ++----
 lang/ruby27-base/hacks.mk |  8 ++++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diffs (40 lines):

diff -r 4072a2c67b9f -r 90d088cec1f8 lang/ruby27-base/Makefile
--- a/lang/ruby27-base/Makefile Sun Feb 14 15:31:02 2021 +0000
+++ b/lang/ruby27-base/Makefile Sun Feb 14 15:31:23 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2020/10/04 03:29:25 taca Exp $
+# $NetBSD: Makefile,v 1.6 2021/02/14 15:31:23 taca Exp $
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-base-${RUBY_VERSION}
@@ -59,9 +59,7 @@
 OPENSSL_EXAMPLES=      c_rehash.rb cert2text.rb certstore.rb cipher.rb \
                        crlstore.rb echo_cli.rb echo_svr.rb gen_csr.rb \
                        smime_read.rb smime_write.rb wget.rb
-REPLACE_RUBY=          bin/bundle bin/bundler bin/erb bin/gem bin/irb \
-                       bin/racc bin/racc2y bin/rdoc bin/ri bin/y2racc \
-                       libexec/bundle libexec/bundler libexec/irb \
+REPLACE_RUBY=          libexec/bundle libexec/bundler libexec/irb \
                        libexec/racc libexec/racc2y libexec/rdoc libexec/ri \
                        libexec/y2racc \
                        gems/net-telnet-${RUBY_NET_TELNET_VERSION}/bin/console \
diff -r 4072a2c67b9f -r 90d088cec1f8 lang/ruby27-base/hacks.mk
--- a/lang/ruby27-base/hacks.mk Sun Feb 14 15:31:02 2021 +0000
+++ b/lang/ruby27-base/hacks.mk Sun Feb 14 15:31:23 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: hacks.mk,v 1.1 2020/03/15 15:26:22 taca Exp $
+# $NetBSD: hacks.mk,v 1.2 2021/02/14 15:31:23 taca Exp $
 
-.if !defined(RUBY24_BASE_HACKS_MK)
-RUBY24_BASE_HACKS_MK=  defined
+.if !defined(RUBY27_BASE_HACKS_MK)
+RUBY27_BASE_HACKS_MK=  defined
 
 .include "../../mk/compiler.mk"
 
@@ -41,4 +41,4 @@
 BUILDLINK_TRANSFORM+=  rm:-fomit-frame-pointer
 .endif
 
-.endif # RUBY24_BASE_HACKS_MK
+.endif # RUBY27_BASE_HACKS_MK



Home | Main Index | Thread Index | Old Index