summaryrefslogtreecommitdiff
path: root/news/trn
diff options
context:
space:
mode:
authoragc <agc>2002-01-21 15:14:14 +0000
committeragc <agc>2002-01-21 15:14:14 +0000
commit03040fd6a09c76beddff67c6b151b7ad1c7d1a77 (patch)
tree50999077a01fb8ab2fbf6c1ba200493664f7e1a0 /news/trn
parent78ebdfcf0eb0193b36cdb75f27a558ebdb536952 (diff)
downloadpkgsrc-03040fd6a09c76beddff67c6b151b7ad1c7d1a77.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/trn')
-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