diff options
author | Michael Haro <mharo@FreeBSD.org> | 2000-12-16 04:33:48 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2000-12-16 04:33:48 +0000 |
commit | 56b3279bf9e5191522a31659599ec5ac03cca2bb (patch) | |
tree | fa009c684780988afbf1a3486afec7dd82d886f6 /ftp/proftpd | |
parent | Upgrade to 8.00 (diff) |
Add MYSQL support
PR: 23452
Submitted by: Anders Nordby <anders@fix.no>
Notes
Notes:
svn path=/head/; revision=36022
Diffstat (limited to 'ftp/proftpd')
-rw-r--r-- | ftp/proftpd/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index 319e050ad879..255e484002fd 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/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 |