[Bug 196155] New: graphics/freeglut: fix build on mips, remove .la file, strip library

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 20 13:55:35 UTC 2014


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

            Bug ID: 196155
           Summary: graphics/freeglut: fix build on mips, remove .la file,
                    strip library
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
          Assignee: x11 at FreeBSD.org
             Flags: maintainer-feedback?(x11 at FreeBSD.org)

Created attachment 150801
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150801&action=edit
Patch

Freeglut doesn't build on MIPS (full log attached):

/usr/bin/ld: undefined reference to symbol `sin@@FBSD_1.0' (try adding -lm)
//lib/libm.so.5: could not read symbols: Bad value

Adding -lm to LDFLAGS fixes this.

While here, drop .la file and strip library.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer x11 at FreeBSD.org

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


More information about the freebsd-ports-bugs mailing list