aboutsummaryrefslogtreecommitdiffstats
path: root/news/inn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/inn/Makefile')
-rw-r--r--news/inn/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index ec25eb0e8dce..1c8ebabc2036 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -17,9 +17,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