aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-08-28 23:38:18 +0800
committerdinoex <dinoex@FreeBSD.org>2003-08-28 23:38:18 +0800
commit162b1e72de32c194510910cb119f0b756e0eedca (patch)
tree70561ba0aab5be91ede6b42af1261ecf9614f120 /news
parent932eb2d5750a214e130cd9c6ce4d90413d8326c9 (diff)
downloadfreebsd-ports-gnome-162b1e72de32c194510910cb119f0b756e0eedca.tar.gz
freebsd-ports-gnome-162b1e72de32c194510910cb119f0b756e0eedca.tar.zst
freebsd-ports-gnome-162b1e72de32c194510910cb119f0b756e0eedca.zip
- use hook for bsd.openssl.mk
Diffstat (limited to 'news')
-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>