summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-04 01:57:49 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-04 01:57:49 +0000
commitadee41f0eb17744754f82a4033ec11cdcd3ac278 (patch)
treed7e838b1f3388f5c3e2aff8720301dd6fcf66f5a
parentUpdate games/bsdtris port (diff)
Make port more localbase clean
Noticed by: mysql-gui compilation attempts :-)
Notes
Notes: svn path=/head/; revision=88471
-rw-r--r--databases/mysql++/Makefile3
-rw-r--r--databases/mysql++1/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/databases/mysql++/Makefile b/databases/mysql++/Makefile
index 013f228479af..d93799ffb8a5 100644
--- a/databases/mysql++/Makefile
+++ b/databases/mysql++/Makefile
@@ -20,6 +20,9 @@ LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -D_FIX_FOR_BSD_ -Wno-deprecated"
+CONFIGURE_ARGS= --with-mysql=${LOCALBASE} \
+ --with-mysql-include=${LOCALBASE}/include/mysql/ \
+ --with-mysql-lib=${LOCALBASE}/lib/mysql/
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
diff --git a/databases/mysql++1/Makefile b/databases/mysql++1/Makefile
index 013f228479af..d93799ffb8a5 100644
--- a/databases/mysql++1/Makefile
+++ b/databases/mysql++1/Makefile
@@ -20,6 +20,9 @@ LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -D_FIX_FOR_BSD_ -Wno-deprecated"
+CONFIGURE_ARGS= --with-mysql=${LOCALBASE} \
+ --with-mysql-include=${LOCALBASE}/include/mysql/ \
+ --with-mysql-lib=${LOCALBASE}/lib/mysql/
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>