aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2000-12-16 04:33:48 +0000
committerMichael Haro <mharo@FreeBSD.org>2000-12-16 04:33:48 +0000
commit56b3279bf9e5191522a31659599ec5ac03cca2bb (patch)
treefa009c684780988afbf1a3486afec7dd82d886f6 /ftp
parent65a1f9f5fe93a6bf51da641622746d2b5c499347 (diff)
downloadports-56b3279bf9e5191522a31659599ec5ac03cca2bb.tar.gz
ports-56b3279bf9e5191522a31659599ec5ac03cca2bb.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile6
-rw-r--r--ftp/proftpd/Makefile6
2 files changed, 12 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
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