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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229898

            Bug ID: 229898
           Summary: [exp-run] lang/ruby2[45]: get rid of unescaped
                    "-Wl,soname,$@" in LDFLAGS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://reviews.freebsd.org/D16341
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby@FreeBSD.org
          Reporter: fluffy@FreeBSD.org
          Assignee: ruby@FreeBSD.org
             Flags: maintainer-feedback?(ruby@FreeBSD.org)
             Flags: exp-run?

Created attachment 195287
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195287&action=
=3Dedit
lang/ruby2[45]: get rid of unescaped "-Wl,soname,$@" in LDFLAGS

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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