lang/ruby26-base: trivial fixes
* Do not REPLACE_RUBY for nonexistent files. * Fix include guard for hack.mk.
This commit is contained in:
parent
dd0c4af72c
commit
d7a8fe7cc3
2 changed files with 6 additions and 7 deletions
|
@ -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 @@ BIGDECIMAL_EXAMPLES= linear.rb nlsolve.rb pi.rb
|
|||
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 \
|
||||
|
|
|
@ -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 @@ PKG_HACKS+= optimisation
|
|||
BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer
|
||||
.endif
|
||||
|
||||
.endif # RUBY24_BASE_HACKS_MK
|
||||
.endif # RUBY26_BASE_HACKS_MK
|
||||
|
|
Loading…
Reference in a new issue