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 ++++++++-- news/trn/Makefile | 8 ++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'news') 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 diff --git a/news/trn/Makefile b/news/trn/Makefile index 62c354baa47..33d8155c14e 100644 --- a/news/trn/Makefile +++ b/news/trn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/02/22 16:12:07 tv Exp $ +# $NetBSD: Makefile,v 1.2 1999/07/26 19:47:37 tron Exp $ # DISTNAME= trn-3.6 @@ -7,7 +7,11 @@ MASTER_SITES= ftp://ftp.wustl.edu/packages/news/readers/trn/ MAINTAINER= packages@netbsd.org -DEPENDS= nntpclnt-1.6.1:../../news/nntpclnt +.if defined(USE_INN) && ${USE_INN} == YES +DEPENDS= inn-2.2:../inn +.else +DEPENDS= nntpclnt-1.6.1:../nntpclnt +.endif HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure -- cgit v1.2.3