FreeBSD Bugzilla – Attachment 250399 Details for
Bug 278764
lang/ruby3[1-3]: Convert post-patch to EXTRACT_AFTER_ARGS and use helpers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for ruby32
rmrf-ruby32-fixes-v2.patch (text/plain), 1.64 KB, created by
Daniel Engberg
on 2024-05-04 19:30:35 UTC
(
hide
)
Description:
Patch for ruby32
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2024-05-04 19:30:35 UTC
Size:
1.64 KB
patch
obsolete
>diff --git a/lang/ruby32/Makefile b/lang/ruby32/Makefile >index 846728ac4f45..d042598b3c32 100644 >--- a/lang/ruby32/Makefile >+++ b/lang/ruby32/Makefile >@@ -19,12 +19,21 @@ BUILD_DEPENDS= libffi>=0:devel/libffi > LIB_DEPENDS= libyaml.so:textproc/libyaml > RUN_DEPENDS= libffi>=0:devel/libffi > >-USES= autoreconf cpe ruby:none ssl tar:xz >+USES= autoreconf cpe localbase ruby:none ssl tar:xz > CPE_VENDOR= ruby-lang > CPE_VERSION= ${RUBY_RELVERSION} > CPE_UPDATE= p${RUBY_PATCHLEVEL} > USE_LDCONFIG= yes > >+# We get these from other ports >+EXTRACT_AFTER_ARGS= --exclude bin/gem \ >+ --exclude ext/win32* \ >+ --exclude lib/bundler* \ >+ --exclude libexec/bundler \ >+ --exclude man/erb.1 \ >+ --exclude man/irb.1 \ >+ --exclude man/ri.1 >+ > GNU_CONFIGURE= yes > CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ > --disable-rpath \ >@@ -36,9 +45,8 @@ CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ > --with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" > CONFIGURE_ENV= debugflags= > >-CPPFLAGS+= -I${LOCALBASE}/include > # Keep this, else ruby will fail to load libraries dependent of libpthread. >-LIBS+= -lpthread -L${LOCALBASE}/lib >+LIBS+= -lpthread > WRKSRC= ${RUBY_WRKSRC} > > RUBY_VER= 3.2 >@@ -123,13 +131,6 @@ RB_SET_CONF_VAR= ${SH} -c \ > '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' \ > -- > >-post-patch: >-# We get these from other ports >-.for d in bin/* ext/dbm ext/gdbm ext/win32* lib/bundler* libexec/bundler* \ >- man/bundle* man/erb.1 man/gemfile* man/irb.1 man/ri.1 >- @${RM} -r ${BUILD_WRKSRC}/${d} >-.endfor >- > post-build: > # > # Hack to allow modules to be installed into separate PREFIX and/or under user
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 278764
:
250399
|
250451