aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-04 09:57:49 +0800
committeredwin <edwin@FreeBSD.org>2003-09-04 09:57:49 +0800
commit84c14d71d300ceafde33faf9d3360e171207f1b8 (patch)
treee220af64121919bc1c29822dd34136cceae4820b
parent2a421598348e25941cd2eca5c8c272e9530188d2 (diff)
downloadfreebsd-ports-gnome-84c14d71d300ceafde33faf9d3360e171207f1b8.tar.gz
freebsd-ports-gnome-84c14d71d300ceafde33faf9d3360e171207f1b8.tar.zst
freebsd-ports-gnome-84c14d71d300ceafde33faf9d3360e171207f1b8.zip
Make port more localbase clean
Noticed by: mysql-gui compilation attempts :-)
-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>