aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-07-06 15:45:04 +0800
committeritetcu <itetcu@FreeBSD.org>2009-07-06 15:45:04 +0800
commit671501ff4cf93e24f8fd1fee9e1c03e7deaa982b (patch)
treef13fe2731f151e94710442f09fe7b6736926c86e
parent41077a98b8daf4a526e92805686284a05090229e (diff)
downloadfreebsd-ports-gnome-671501ff4cf93e24f8fd1fee9e1c03e7deaa982b.tar.gz
freebsd-ports-gnome-671501ff4cf93e24f8fd1fee9e1c03e7deaa982b.tar.zst
freebsd-ports-gnome-671501ff4cf93e24f8fd1fee9e1c03e7deaa982b.zip
Fix build with custom LOCALBASE.
Submitted by: Sahil Tandon Reported by: QATty Approved by: maintainer
-rw-r--r--security/barnyard/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/barnyard/Makefile b/security/barnyard/Makefile
index 12a326ab1965..85d90a369958 100644
--- a/security/barnyard/Makefile
+++ b/security/barnyard/Makefile
@@ -33,7 +33,9 @@ PORTDOCS= BUGS ChangeLog FAQ INSTALL NEWS USAGE
.if defined(WITH_MYSQL)
USE_MYSQL= yes
-CONFIGURE_ARGS+= --enable-mysql
+CONFIGURE_ARGS+= --enable-mysql \
+ --with-mysql-includes=${LOCALBASE}/include/mysql \
+ --with-mysql-libraries=${LOCALBASE}/lib/mysql
.endif
.if defined(WITH_POSTGRESQL)