Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2014 00:33:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196288] New: graphics/graphviz (cmd/smyrna) links libm too early
Message-ID:  <bug-196288-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: Trond.Endrestol@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.



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