diff options
author | pav <pav@FreeBSD.org> | 2005-07-27 03:46:51 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-07-27 03:46:51 +0800 |
commit | a7c43f74b589f1664e233a365c4c41a11e5c97ce (patch) | |
tree | 713009ce1d06658f19a7b212c60a7b383089677a /ftp/proftpd | |
parent | 09ab5f727532c295137135490650cea49adcc0da (diff) | |
download | freebsd-ports-gnome-a7c43f74b589f1664e233a365c4c41a11e5c97ce.tar.gz freebsd-ports-gnome-a7c43f74b589f1664e233a365c4c41a11e5c97ce.tar.zst freebsd-ports-gnome-a7c43f74b589f1664e233a365c4c41a11e5c97ce.zip |
- Fix OpenSSL handling
PR: ports/83141
Approved by: maintainer timeout (19 days)
Diffstat (limited to 'ftp/proftpd')
-rw-r--r-- | ftp/proftpd/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index f8f6f22f0848..dd5f418cefcc 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -98,11 +98,6 @@ MODULES?= mod_ifsession:mod_ratio:mod_readme:mod_rewrite: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 @@ -127,7 +122,9 @@ LIBDIRS:=${LIBDIRS}:${PREFIX}/lib .if defined(WITH_OPENSSL) CFLAGS+= -DHAVE_OPENSSL USE_OPENSSL= yes -PROFTPD_LIBS+= -lssl -lcrypto +.include <${PORTSDIR}/Mk/bsd.openssl.mk> +PROFTPD_LIBS+= -lssl -lcrypto -L${LOCALBASE}/lib +MODULES:=${MODULES}:mod_tls .endif .if defined(WITH_CTRLS) |