aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/proftpd-devel
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2000-12-16 12:33:48 +0800
committermharo <mharo@FreeBSD.org>2000-12-16 12:33:48 +0800
commitce844e4dbaa52b9aadb940634c2046c559808298 (patch)
tree79c852ca4bee7d8dbdd690f869a950454fffae9d /ftp/proftpd-devel
parentb76cd5223580647cbf1e6e3b206ecc8cbce3323f (diff)
downloadfreebsd-ports-gnome-ce844e4dbaa52b9aadb940634c2046c559808298.tar.gz
freebsd-ports-gnome-ce844e4dbaa52b9aadb940634c2046c559808298.tar.zst
freebsd-ports-gnome-ce844e4dbaa52b9aadb940634c2046c559808298.zip
Add MYSQL support
PR: 23452 Submitted by: Anders Nordby <anders@fix.no>
Diffstat (limited to 'ftp/proftpd-devel')
-rw-r--r--ftp/proftpd-devel/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index 319e050ad879..255e484002fd 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -42,6 +42,12 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap
CONFIGURE_ENV+= CFLAGS="-I/usr/local/include -g" LDFLAGS=-L/usr/local/lib
.endif
+.if defined(WITH_MYSQL)
+MODULES:=$(MODULES):mod_sqlpw:mod_mysql
+LIB_DEPENDS+= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
+CONFIGURE_ENV+= CFLAGS="-I${PREFIX}/include/mysql" LDFLAGS="-L${PREFIX}/lib/mysql"
+.endif
+
.if !empty(MODULES)
CONFIGURE_ARGS+= --with-modules=${MODULES}
.endif