[Bug 196288] New: graphics/graphviz (cmd/smyrna) links libm too early

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 27 00:33:30 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196288

            Bug ID: 196288
           Summary: graphics/graphviz (cmd/smyrna) links libm too early
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info

Created attachment 150979
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150979&action=edit
Using the pre-build target to append LIBS += -lm to
${WRKSRC}/cmd/smyrna/Makefile

I had to save the attachment as graphics/graphviz/Makefile.local to get smyrna
to link. The problem is that -lm is specified too early during linkage. Adding
-lm towards the end of the link command resolves the missing cos().

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


More information about the freebsd-ports-bugs mailing list