Summary: | graphics/freeglut: fix build on mips, remove .la file, strip library | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dmitry Marakasov <amdmi3> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Many People | CC: | emaste, kwm, mizhka | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(x11) |
||||||
Version: | Latest | ||||||||
Hardware: | mips | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Auto-assigned to maintainer x11@FreeBSD.org Created attachment 150802 [details]
Error log
A commit references this bug: Author: amdmi3 Date: Wed Apr 22 23:45:50 UTC 2015 New revision: 384543 URL: https://svnweb.freebsd.org/changeset/ports/384543 Log: - Fix build on mips: /usr/bin/ld: undefined reference to symbol `sin@@FBSD_1.0' (try adding -lm) PR: 196155 (partial) Submitted by: amdmi3 Approved by: maintainer timeout (x11) Approved by: portmgr blanket Changes: head/graphics/freeglut/Makefile This is now fixed? I've just committed remaining bits. A commit references this bug: Author: amdmi3 Date: Tue May 19 19:06:07 UTC 2015 New revision: 386805 URL: https://svnweb.freebsd.org/changeset/ports/386805 Log: - Drop .la file - Strip library - Add LICENSE_FILE PR: 196155 Submitted by: amdmi3 Approved by: maintainer timeout (x11, 6 months) Changes: head/graphics/freeglut/Makefile head/graphics/freeglut/pkg-plist |
Created attachment 150801 [details] 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.