summaryrefslogtreecommitdiff
path: root/news/suck/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-08-28 15:38:18 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-08-28 15:38:18 +0000
commit7856e867fc3cbf6c0bd634372727094d3af4c534 (patch)
treebc04a2cb1b344b79fa60f11cb4d08c710c9a3090 /news/suck/Makefile
parentUpdate to 0.4 (diff)
- use hook for bsd.openssl.mk
Notes
Notes: svn path=/head/; revision=87906
Diffstat (limited to 'news/suck/Makefile')
-rw-r--r--news/suck/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile
index 23870b5929f6..61c070d36f68 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -23,6 +23,7 @@ EX_DATA= suckkillfile.sample sucknewsrc.sample suckothermsgs.sample
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
MAKE_ENV+= CHKHISTORY=chkhistory_db.o
+
.if defined(NEWSBIN) && !defined(SUCK_WITH_INN)
CNEWS_PORT?= news/cnews
PKGNAMESUFFIX?= -cnews
@@ -40,10 +41,8 @@ MAKE_ENV+= INCDIR2=-I${LOCALBASE}/include
BUILD_DEPENDS+= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn
.endif
-.include <bsd.port.pre.mk>
-
.if !defined(SUCK_WITHOUT_SSL) && !defined(WITHOUT_SSL)
-.include "${PORTSDIR}/security/openssl/bsd.openssl.mk"
+USE_OPENSSL= yes
MAKE_ENV+= SSL_LIB="-lssl -lcrypto"
MAKE_ENV+= SSL_DEFS="-I${OPENSSLINC} -DHAVE_LIBSSL"
MAKE_ENV+= SSL_LIB_LOC="-L${OPENSSLLIB}"
@@ -75,4 +74,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>