Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2018 02:00:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 229898] [exp-run] lang/ruby2[45]: get rid of unescaped "-Wl,soname,$@" in LDFLAGS
Message-ID:  <bug-229898-21402-lGWiPfMyOu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229898-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229898-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-ruby mailing l=
ist
<ruby@FreeBSD.org> for maintainer-feedback:
Bug 229898: [exp-run] lang/ruby2[45]: get rid of unescaped "-Wl,soname,$@" =
in
LDFLAGS
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229898



--- Description ---
lang/ruby2[45]: Use internal RUBY_DLDFLAGS right way, get rid of unescaped
macro '$@' for build and in the pkg-config template

lang/ruby23 is already fixed same way, port it to newer releases

This unbreak ninja builds with any ports relied on libruby.so

=3D=3D=3D example buildlog unpatched =3D=3D=3D
ninja: error: build.ninja:3434: bad $-escape (literal $ must be written as =
$$)
  LINK_LIBRARIES =3D -fstack-protector -Wl,-soname,$@ -lruby24 -lelf -lunw.=
..
						 ^ near here
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229898-21402-lGWiPfMyOu>