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

This commit is contained in:
John Marino
2013-10-07 23:13:03 +00:00
parent cc27f63556
commit cd25db192e

View File

@@ -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: