From 5f2ed25075f2b6b019cd31623cb78e6d7a5a58bc Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 26 Jul 1999 19:47:37 +0000 Subject: New variable "USE_INN" to use "inn" instead of "nntclnt" to provide "inews" binary for newsreaders. --- news/nn/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'news/nn/Makefile') diff --git a/news/nn/Makefile b/news/nn/Makefile index b8584fc57c3..4ac9025ea6c 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1998/06/22 13:00:14 agc Exp $ +# $NetBSD: Makefile,v 1.6 1999/07/26 19:47:37 tron Exp $ # $FreeBSD Id: Makefile,v 1.14 1997/07/30 18:17:48 adam Exp # @@ -10,7 +10,13 @@ MASTER_SITES= ftp://uniwa.uwa.edu.au/pub/nn/old/beta/ \ MAINTAINER= tron@netbsd.org -DEPENDS= nntpclnt-1.6.1:../../news/nntpclnt +.include <../../mk/bsd.prefs.mk> + +.if defined(USE_INN) && ${USE_INN} == YES +DEPENDS= inn-2.2:../inn +.else +DEPENDS= nntpclnt-1.6.1:../nntpclnt +.endif post-extract: @${MV} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h -- cgit v1.2.3