summaryrefslogtreecommitdiff
path: root/news/inn/Makefile
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-11-26 09:54:23 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-11-26 09:54:23 +0000
commit32fdc696e3381bf8571a19745c011ffd533af70f (patch)
tree042a3154a75bd935bc0bd9817f2ecccba4a3982d /news/inn/Makefile
parentFix LIB_DEPENDS when using gd version 1. (diff)
Force ${PREFIX}/news/spool during package building.
Diffstat (limited to '')
-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