summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-01-21 15:14:14 +0000
committeragc <agc@pkgsrc.org>2002-01-21 15:14:14 +0000
commit095e0fabfa95e2d064ae531394520839934e09f6 (patch)
tree50999077a01fb8ab2fbf6c1ba200493664f7e1a0 /news
parent539906edd2ea654b26f01385ce6eeb7a2e3f1c46 (diff)
downloadpkgsrc-095e0fabfa95e2d064ae531394520839934e09f6.tar.gz
Apply fix from PR 15311 from David Rankin - include bsd.prefs.mk before
attempting to test the value of USE_INN.
Diffstat (limited to 'news')
-rw-r--r--news/trn/Makefile7
1 files changed, 4 insertions, 3 deletions
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