aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>