diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-06-01 04:51:48 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-06-01 04:51:48 +0800 |
commit | bd0c33d94bd969f3f27232ffad927d099288315b (patch) | |
tree | 5c696ef47eb3b08b2775f8da3695a2017d82662e /news | |
parent | 5470bfc1e767870d1ced3e3977063109436376a5 (diff) | |
download | freebsd-ports-gnome-bd0c33d94bd969f3f27232ffad927d099288315b.tar.gz freebsd-ports-gnome-bd0c33d94bd969f3f27232ffad927d099288315b.tar.zst freebsd-ports-gnome-bd0c33d94bd969f3f27232ffad927d099288315b.zip |
- get rid of duplicate code in Makefiles.
- Fix USE_OPENSSL_PORT and USE_OPENSSL_BASE
- drop obsolete/broken USE_OPENSSL
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}" |