aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2006-04-12 19:23:50 +0800
committerdanfe <danfe@FreeBSD.org>2006-04-12 19:23:50 +0800
commit32dd3441e8e8d0562e3e33b0046cbed37a7130b9 (patch)
treeca5e52a13ffe049c32eaae18e304a6aeaaca4d4e
parent453afeb912429c8915389ae61a8acbec231a7b00 (diff)
downloadfreebsd-ports-gnome-32dd3441e8e8d0562e3e33b0046cbed37a7130b9.tar.gz
freebsd-ports-gnome-32dd3441e8e8d0562e3e33b0046cbed37a7130b9.tar.zst
freebsd-ports-gnome-32dd3441e8e8d0562e3e33b0046cbed37a7130b9.zip
Fix the build.
Reported by: krismail
-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)