svn commit: r384543 - head/graphics/freeglut
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Apr 22 23:45:50 UTC 2015
Author: amdmi3
Date: Wed Apr 22 23:45:49 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
Modified:
head/graphics/freeglut/Makefile
Modified: head/graphics/freeglut/Makefile
==============================================================================
--- head/graphics/freeglut/Makefile Wed Apr 22 23:23:35 2015 (r384542)
+++ head/graphics/freeglut/Makefile Wed Apr 22 23:45:49 2015 (r384543)
@@ -21,7 +21,7 @@ USE_XORG= ice xi xxf86vm xrandr
USE_GL= glu
CONFIGURE_ARGS= --disable-warnings
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lusbhid
+LDFLAGS+= -L${LOCALBASE}/lib -lusbhid -lm
USE_LDCONFIG= yes
DOCS= download.html freeglut.html freeglut_logo.png \
More information about the svn-ports-all
mailing list