aboutsummaryrefslogtreecommitdiffstats
path: root/news/inn-stable/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/inn-stable/Makefile')
-rw-r--r--news/inn-stable/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/news/inn-stable/Makefile b/news/inn-stable/Makefile
index a52344f83703..3ca47c841f37 100644
--- a/news/inn-stable/Makefile
+++ b/news/inn-stable/Makefile
@@ -19,9 +19,9 @@ MAINTAINER= des@FreeBSD.org
USE_GMAKE=YES
USE_PERL5= yes
-.if exists(/var/news)
+.if exists(/var/news) && !defined(PACKAGE_BUILDING)
INN_NEWSSPOOL?=/var/news
-.elif exists(/var/spool/news)
+.elif exists(/var/spool/news) && !defined(PACKAGE_BUILDING)
INN_NEWSSPOOL?=/var/spool/news
.else
INN_NEWSSPOOL?=${PREFIX}/news/spool