aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby24
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2018-07-28 02:53:05 +0000
committerDima Panov <fluffy@FreeBSD.org>2018-07-28 02:53:05 +0000
commitd3d495da3aeee85f4f2b1c474e783d7c01276135 (patch)
treee791029a9e756295a3668d303bfffcefd3ec1d7b /lang/ruby24
parentc6e9689ec1a463ed4fc3ac032ca6b77284a5071a (diff)
downloadports-d3d495da3aeee85f4f2b1c474e783d7c01276135.tar.gz
ports-d3d495da3aeee85f4f2b1c474e783d7c01276135.zip
Notes
Diffstat (limited to 'lang/ruby24')
-rw-r--r--lang/ruby24/files/patch-configure.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/ruby24/files/patch-configure.in b/lang/ruby24/files/patch-configure.in
new file mode 100644
index 000000000000..00381623a538
--- /dev/null
+++ b/lang/ruby24/files/patch-configure.in
@@ -0,0 +1,19 @@
+--- configure.in.orig 2018-03-02 20:59:11.000000000 +0800
++++ configure.in 2018-07-19 14:22:04.753721000 +0800
+@@ -3423,7 +3423,6 @@
+ : ${LDSHARED='$(CC) -shared'}
+ if test "$rb_cv_binary_elf" = yes; then
+ LDFLAGS="$LDFLAGS -rdynamic"
+- DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$@'
+ else
+ test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED='$(LD) -Bshareable'
+ fi
+@@ -3896,6 +3895,8 @@
+ [freebsd*|dragonfly*], [
+ SOLIBS='$(LIBS)'
+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
++ RUBY_APPEND_OPTIONS(DLDFLAGS, ['-Wl,-soname,${LIBRUBY_SO}' "$LDFLAGS_OPTDIR"])
++ RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS, ['-Wl,-soname,${LIBRUBY_SO}' "$LDFLAGS_OPTDIR"])
+ if test "$rb_cv_binary_elf" != "yes" ; then
+ LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
+ LIBRUBY_ALIASES=''