summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/nn/Makefile10
-rw-r--r--news/trn/Makefile8
2 files changed, 14 insertions, 4 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
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