aboutsummaryrefslogtreecommitdiff
path: root/games/quetoo/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2006-04-12 11:23:50 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2006-04-12 11:23:50 +0000
commit11c6990432c35e001f5ecfda282fe02cf39ac9d4 (patch)
tree9f0b12cfbc5f40b8cd8620d9b16983d15a7f8932 /games/quetoo/Makefile
parentd59c223b31aa2d0501c49cd3b5b6d301505563a5 (diff)
downloadports-11c6990432c35e001f5ecfda282fe02cf39ac9d4.tar.gz
ports-11c6990432c35e001f5ecfda282fe02cf39ac9d4.zip
Notes
Diffstat (limited to 'games/quetoo/Makefile')
-rw-r--r--games/quetoo/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/quetoo/Makefile b/games/quetoo/Makefile
index d912acda3272..31347e42948d 100644
--- a/games/quetoo/Makefile
+++ b/games/quetoo/Makefile
@@ -21,9 +21,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \
${PTHREAD_CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib \
-L${X11BASE}/lib ${PTHREAD_LIBS}" \
OPENGL_CFLAGS="-I${X11BASE}/include" \
- OPENGL_LIBS="-L${X11BASE}/lib" \
- MYSQL_LIBS="-L${LOCALBASE}/lib/mysql -lmysqlclient" \
- MYSQL_CFLAGS="-I${LOCALBASE}/include"
+ OPENGL_LIBS="-L${X11BASE}/lib"
LIBDIR= ${PREFIX}/lib/${PORTNAME}
PLIST_SUB+= LIBDIR="${LIBDIR:S/${PREFIX}\///}"
@@ -46,6 +44,8 @@ PLIST_SUB+= QMASS="@comment "
.if defined(WITH_MYSQL)
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql
+CONFIGURE_ENV+= MYSQL_LIBS="-L${LOCALBASE}/lib/mysql -lmysqlclient" \
+ MYSQL_CFLAGS="-I${LOCALBASE}/include"
.endif
.if !defined(WITH_OPTIMIZED_CFLAGS)