summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2004-04-01 09:44:53 +0000
committerMichael Haro <mharo@FreeBSD.org>2004-04-01 09:44:53 +0000
commit012b1a9408b0813a1cd3c52bbae51b19d70af0ce (patch)
tree0bf3b7ca9d4718246d873263507f0ab1f8311c4f
parentUpdate to 1.11. (diff)
Support WITH_OPENSSL
PR: 65006 Submitted by: Jochen Gensch <incmc@gmx.de>
Notes
Notes: svn path=/head/; revision=105853
-rw-r--r--ftp/proftpd-devel/Makefile6
-rw-r--r--ftp/proftpd/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index a06f0060f71a..b5063e22bc97 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -40,7 +40,6 @@ PORTDOCS= ${PORTDOCSdoc} ${PORTDOCScontrib}
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
-# USE_AUTOCONF_VER=213
SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g'
@@ -74,6 +73,11 @@ MODULES?= mod_ratio:mod_readme:mod_wrap
INCLUDEDIRS=
LIBDIRS=
+.if defined(WITH_OPENSSL)
+USE_OPENSSL= yes
+MODULES:=${MODULES}:mod_tls
+.endif
+
.if defined(WITH_LDAP)
USE_OPENLDAP= yes
MODULES:=${MODULES}:mod_ldap
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index a06f0060f71a..b5063e22bc97 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -40,7 +40,6 @@ PORTDOCS= ${PORTDOCSdoc} ${PORTDOCScontrib}
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
-# USE_AUTOCONF_VER=213
SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g'
@@ -74,6 +73,11 @@ MODULES?= mod_ratio:mod_readme:mod_wrap
INCLUDEDIRS=
LIBDIRS=
+.if defined(WITH_OPENSSL)
+USE_OPENSSL= yes
+MODULES:=${MODULES}:mod_tls
+.endif
+
.if defined(WITH_LDAP)
USE_OPENLDAP= yes
MODULES:=${MODULES}:mod_ldap