Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2015 23:45:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384543 - head/graphics/freeglut
Message-ID:  <201504222345.t3MNjoms051969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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		\



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