diff options
author | tron <tron@pkgsrc.org> | 1999-07-26 19:47:37 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-07-26 19:47:37 +0000 |
commit | 5f2ed25075f2b6b019cd31623cb78e6d7a5a58bc (patch) | |
tree | 31ce46bb3a9ded6b7247ef7dcac16e37e08c7623 /news/nn | |
parent | 929d28c506a05a13efe3f0e8ede667800edbe99c (diff) | |
download | pkgsrc-5f2ed25075f2b6b019cd31623cb78e6d7a5a58bc.tar.gz |
New variable "USE_INN" to use "inn" instead of "nntclnt" to provide
"inews" binary for newsreaders.
Diffstat (limited to 'news/nn')
-rw-r--r-- | news/nn/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
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 |