diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-05-31 20:51:48 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-05-31 20:51:48 +0000 |
commit | 65e2b09e203793a4b84951b457e7e73247c06db1 (patch) | |
tree | 26edfe514e1fc4e2b1fe7a97aa82411b26950d9f /news | |
parent | a8b306026ae734dbaf1895b82723d63263c72453 (diff) | |
download | ports-65e2b09e203793a4b84951b457e7e73247c06db1.tar.gz ports-65e2b09e203793a4b84951b457e7e73247c06db1.zip |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/suck/Makefile | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile index 51691083a12f..92f4c61eb287 100644 --- a/news/suck/Makefile +++ b/news/suck/Makefile @@ -14,9 +14,6 @@ MAINTAINER= dinoex@FreeBSD.org USE_GMAKE= yes GNU_CONFIGURE= yes -.if defined(SUCK_WITH_SSL) || defined(WITH_SSL) -USE_OPENSSL= yes -.endif MAN1= suck.1 rpost.1 testhost.1 lmove.1 EX_SCRIPTS= get.news.generic get.news.inn perl_kill.pl perl_xover.pl \ post_filter.pl put.news put.news.pl put.news.sm put.news.sm.pl @@ -34,14 +31,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn .include <bsd.port.pre.mk> .if defined(SUCK_WITH_SSL) || defined(WITH_SSL) -USE_OPENSSL= yes -.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3) -OPENSSLBASE= /usr/local -OPENSSLDIR= ${OPENSSLBASE}/openssl -LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl -OPENSSLLIB= ${OPENSSLBASE}/lib -OPENSSLINC= ${OPENSSLBASE}/include -.endif +.include <${PORTSDIR}/security/openssl/Makefile.ssl> MAKE_ENV+= SSL_LIB="-lssl -lcrypto" MAKE_ENV+= SSL_DEFS="-I${OPENSSLINC} -DHAVE_LIBSSL" MAKE_ENV+= SSL_LIB_LOC="-L${OPENSSLLIB}" |