From 095e0fabfa95e2d064ae531394520839934e09f6 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 21 Jan 2002 15:14:14 +0000 Subject: Apply fix from PR 15311 from David Rankin - include bsd.prefs.mk before attempting to test the value of USE_INN. --- news/trn/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'news') diff --git a/news/trn/Makefile b/news/trn/Makefile index b70e440320f..4aa695d0e20 100644 --- a/news/trn/Makefile +++ b/news/trn/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2001/06/04 20:03:20 jtb Exp $ +# $NetBSD: Makefile,v 1.13 2002/01/21 15:14:14 agc Exp $ DISTNAME= trn4-test74 PKGNAME= trn-4.74 +PKGREVISION= 1 CATEGORIES= news MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=trn/} \ ftp://trn.sourceforge.net/pub/trn/ @@ -12,14 +13,14 @@ COMMENT= Threaded version of rn, the classic news reader LICENSE= trn-license +.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 -.include "../../mk/bsd.prefs.mk" - # TRN_HOSTBITS determines the number of "name segments" (x.y.z.com), counting # from right to left, that TRN will match to allow cancels, with 0 requiring # a perfect match. For example, with TRN_HOSTBITS=3, x.y.z.com will match -- cgit v1.2.3