pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4072a2c67b9f
branches:  trunk
changeset: 446952:4072a2c67b9f
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Feb 14 15:31:02 2021 +0000

description:
lang/ruby26-base: trivial fixes

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

diffstat:

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

diffs (39 lines):

diff -r 19613646dfc6 -r 4072a2c67b9f lang/ruby26-base/Makefile
--- a/lang/ruby26-base/Makefile Sun Feb 14 15:30:19 2021 +0000
+++ b/lang/ruby26-base/Makefile Sun Feb 14 15:31:02 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2020/10/04 03:41:12 taca Exp $
+# $NetBSD: Makefile,v 1.12 2021/02/14 15:31:02 taca Exp $
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-base-${RUBY_VERSION}
@@ -57,8 +57,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/rdoc bin/ri libexec/bundle libexec/bundle_ruby \
+REPLACE_RUBY=          libexec/bundle libexec/bundle_ruby \
                        libexec/bundler libexec/irb libexec/rdoc libexec/ri \
                        gems/rake-${RUBY_RAKE_VERSION}/exe/rake \
                        gems/net-telnet-${RUBY_NET_TELNET_VERSION}/bin/console \
diff -r 19613646dfc6 -r 4072a2c67b9f lang/ruby26-base/hacks.mk
--- a/lang/ruby26-base/hacks.mk Sun Feb 14 15:30:19 2021 +0000
+++ b/lang/ruby26-base/hacks.mk Sun Feb 14 15:31:02 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: hacks.mk,v 1.3 2019/12/07 07:18:52 mrg Exp $
+# $NetBSD: hacks.mk,v 1.4 2021/02/14 15:31:02 taca Exp $
 
-.if !defined(RUBY24_BASE_HACKS_MK)
-RUBY24_BASE_HACKS_MK=  defined
+.if !defined(RUBY26_BASE_HACKS_MK)
+RUBY26_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 # RUBY26_BASE_HACKS_MK



Home | Main Index | Thread Index | Old Index