FreeBSD Bugzilla – Attachment 187013 Details for
Bug 222872
lang/ruby3{1,2,3}: Fails to build with POSIX-compliant sh -c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
allow both current and POSIX-compliant sh -c
lang-ruby22-sh-c.patch (text/plain), 906 bytes, created by
Jilles Tjoelker
on 2017-10-08 21:10:45 UTC
(
hide
)
Description:
allow both current and POSIX-compliant sh -c
Filename:
MIME Type:
Creator:
Jilles Tjoelker
Created:
2017-10-08 21:10:45 UTC
Size:
906 bytes
patch
obsolete
>--- ports/lang/ruby22/Makefile.orig 2017-09-22 12:48:28.000000000 +0200 >+++ ports/lang/ruby22/Makefile 2017-10-08 22:22:55.220462000 +0200 >@@ -120,17 +120,17 @@ > EXTSAMPLES= bigdecimal/sample/*.rb > > EXTDOCS= readline/README* \ > ripper/README \ > stringio/README \ > syslog/syslog.txt > > # Macros to change variables in rbconfig.rb >-RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' -- >+RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$1\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$2\4," ${WRKSRC}/rbconfig.rb' RB_SET_CONF_VAR > > post-patch: > @${REINPLACE_CMD} -E \ > -e 's,-l$$pthread_lib,-lpthread,g' \ > -e '/^RUBY_LIB_PATH/s,\.\$$\{TEENY\},,' \ > -e '/^RUBY_SITE_LIB_PATH2/s,\.\$$\{TEENY\},,' \ > -e '/^RUBY_VENDOR_LIB_PATH2/s,\.\$$\{TEENY\},,' \ > ${WRKSRC}/configure
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 222872
:
187013
|
258552