mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Revert the "DLD_FLAGS" pollution part of r475483.
It was initially got from ruby23, but recent ruby releases have some differences in runtime linking, which was not hit by exp-run, and caused trouble with some ports (e.g. devel/leatherman, sysutils/facter). PR: 230238 Submitted by: fluffy Reported by: freebsd@ptty.com Approved by: fluffy
This commit is contained in:
parent
246eec3ed0
commit
8826fd8b3f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480158
@ -165,7 +165,7 @@ RUBY23= "" # PLIST_SUB helpers
|
||||
# Ruby 2.4
|
||||
#
|
||||
RUBY_RELVERSION= 2.4.4
|
||||
RUBY_PORTREVISION= 2
|
||||
RUBY_PORTREVISION= 3
|
||||
RUBY_PORTEPOCH= 1
|
||||
RUBY_PATCHLEVEL= 0
|
||||
RUBY24= "" # PLIST_SUB helpers
|
||||
@ -175,7 +175,7 @@ RUBY24= "" # PLIST_SUB helpers
|
||||
# Ruby 2.5
|
||||
#
|
||||
RUBY_RELVERSION= 2.5.1
|
||||
RUBY_PORTREVISION= 3
|
||||
RUBY_PORTREVISION= 4
|
||||
RUBY_PORTEPOCH= 1
|
||||
RUBY_PATCHLEVEL= 0
|
||||
RUBY25= "" # PLIST_SUB helpers
|
||||
|
@ -26,12 +26,3 @@
|
||||
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=''
|
||||
|
@ -26,12 +26,3 @@
|
||||
], [
|
||||
test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED='$(LD) -Bshareable'
|
||||
])
|
||||
@@ -3724,6 +3723,8 @@
|
||||
SOLIBS='$(LIBS)'
|
||||
LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)'
|
||||
LIBRUBY_SONAME='$(LIBRUBY_SO)'
|
||||
+ RUBY_APPEND_OPTIONS(DLDFLAGS, ['-Wl,-soname,${LIBRUBY_SO}' "$LDFLAGS_OPTDIR"])
|
||||
+ RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS, ['-Wl,-soname,${LIBRUBY_SO}' "$LDFLAGS_OPTDIR"])
|
||||
AS_IF([test "$rb_cv_binary_elf" != "yes" ], [
|
||||
LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
|
||||
LIBRUBY_ALIASES=''
|
||||
|
Loading…
Reference in New Issue
Block a user