summaryrefslogtreecommitdiff
path: root/news/trn
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-07-26 19:47:37 +0000
committertron <tron@pkgsrc.org>1999-07-26 19:47:37 +0000
commit5f2ed25075f2b6b019cd31623cb78e6d7a5a58bc (patch)
tree31ce46bb3a9ded6b7247ef7dcac16e37e08c7623 /news/trn
parent929d28c506a05a13efe3f0e8ede667800edbe99c (diff)
downloadpkgsrc-5f2ed25075f2b6b019cd31623cb78e6d7a5a58bc.tar.gz
New variable "USE_INN" to use "inn" instead of "nntclnt" to provide
"inews" binary for newsreaders.
Diffstat (limited to 'news/trn')
-rw-r--r--news/trn/Makefile8
1 files changed, 6 insertions, 2 deletions
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