aboutsummaryrefslogtreecommitdiff
path: root/games/apoolGL
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2013-10-07 23:13:03 +0000
committerJohn Marino <marino@FreeBSD.org>2013-10-07 23:13:03 +0000
commitcd25db192e49c5e1ffccc14f61fda4f4f64b703c (patch)
tree13c61c9d1375f09b14767a7dee7fefee09e2140f /games/apoolGL
parentcc27f63556a7861245cf4e44357bd1c194879b10 (diff)
downloadports-cd25db192e49c5e1ffccc14f61fda4f4f64b703c.tar.gz
ports-cd25db192e49c5e1ffccc14f61fda4f4f64b703c.zip
games/apoolGL: Put -lm flag in custom build target instead
Notes
Notes: svn path=/head/; revision=329744
Diffstat (limited to 'games/apoolGL')
-rw-r--r--games/apoolGL/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/apoolGL/Makefile b/games/apoolGL/Makefile
index 9f8e78e671c9..4472a9b21b9b 100644
--- a/games/apoolGL/Makefile
+++ b/games/apoolGL/Makefile
@@ -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: