svn commit: r329744 - head/games/apoolGL

John Marino marino at FreeBSD.org
Mon Oct 7 23:13:04 UTC 2013


Author: marino
Date: Mon Oct  7 23:13:03 2013
New Revision: 329744
URL: http://svnweb.freebsd.org/changeset/ports/329744

Log:
  games/apoolGL: Put -lm flag in custom build target instead

Modified:
  head/games/apoolGL/Makefile

Modified: head/games/apoolGL/Makefile
==============================================================================
--- head/games/apoolGL/Makefile	Mon Oct  7 23:03:12 2013	(r329743)
+++ head/games/apoolGL/Makefile	Mon Oct  7 23:13:03 2013	(r329744)
@@ -13,7 +13,6 @@ COMMENT=	Another billiards simulator
 
 USE_SDL=	sdl
 USE_GL=		gl
-LDFLAGS+=	-lm
 
 PORTDOCS=	ApoolGL.txt CHANGELOG OpenGL-Features
 
@@ -25,7 +24,7 @@ post-patch:
 do-build:
 	${CC} ${CFLAGS} -DDATADIR="\"${DATADIR}\"" \
 		`${SDL_CONFIG} --cflags --libs` \
-		-I${LOCALBASE}/include -L${LOCALBASE}/lib -lGL -lGLU \
+		-I${LOCALBASE}/include -L${LOCALBASE}/lib -lGL -lGLU -lm \
 		-o ${WRKSRC}/apool ${WRKSRC}/*.c
 
 do-install:


More information about the svn-ports-all mailing list