summaryrefslogtreecommitdiff
path: root/lang/ruby32/files/patch-configure.ac
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2022-04-04 03:05:05 +0900
committerYasuhiro Kimura <yasu@FreeBSD.org>2022-04-13 12:04:02 +0900
commitadd80dec1ab9913292b08ca8a9968728c755c222 (patch)
tree8fe30a1852f4ea8013791af10667d5af57cb2fc8 /lang/ruby32/files/patch-configure.ac
parenteditors/openoffice-4: Fix dependency issues (diff)
lang/ruby32: Add new port
Add preview1 of Ruby 3.2 series. ReleaseNotes: https://www.ruby-lang.org/en/news/2022/04/03/ruby-3-2-0-preview1-released/ PR: 263030 Approved by: sunpoet (ruby)
Diffstat (limited to 'lang/ruby32/files/patch-configure.ac')
-rw-r--r--lang/ruby32/files/patch-configure.ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/ruby32/files/patch-configure.ac b/lang/ruby32/files/patch-configure.ac
new file mode 100644
index 000000000000..170a9f3a9fe8
--- /dev/null
+++ b/lang/ruby32/files/patch-configure.ac
@@ -0,0 +1,19 @@
+--- configure.ac.orig 2018-12-28 12:03:09 UTC
++++ configure.ac
+@@ -2678,7 +2678,7 @@ AS_IF([test "$with_dln_a_out" != yes], [
+ : ${LDSHARED='$(CC) -shared'}
+ AS_IF([test "$rb_cv_binary_elf" = yes], [
+ LDFLAGS="$LDFLAGS -rdynamic"
+- DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$@'
++ DLDFLAGS="$DLDFLAGS "'-Wl,-E'
+ ], [
+ test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED='$(LD) -Bshareable'
+ ])
+@@ -3163,6 +3163,7 @@ AS_CASE("$enable_shared", [yes], [
+ [freebsd*|dragonfly*], [
+ LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)'
+ LIBRUBY_SONAME='$(LIBRUBY_SO)'
++ RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS, ['-Wl,-soname,${LIBRUBY_SO}'])
+ AS_IF([test "$rb_cv_binary_elf" != "yes" ], [
+ LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
+ LIBRUBY_ALIASES=''