aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-11-26 17:54:23 +0800
committerdes <des@FreeBSD.org>2002-11-26 17:54:23 +0800
commita0ac8f8434ed0952f32132f62ba13b690a79f11b (patch)
treec272a93d4fdc71e2bb1570decfe10ab9d2c32d85
parent76211c24bcfac03499e8bb9de0da116b47e072ac (diff)
downloadfreebsd-ports-gnome-a0ac8f8434ed0952f32132f62ba13b690a79f11b.tar.gz
freebsd-ports-gnome-a0ac8f8434ed0952f32132f62ba13b690a79f11b.tar.zst
freebsd-ports-gnome-a0ac8f8434ed0952f32132f62ba13b690a79f11b.zip
Force ${PREFIX}/news/spool during package building.
-rw-r--r--news/inn-current/Makefile4
-rw-r--r--news/inn-stable/Makefile4
-rw-r--r--news/inn/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/news/inn-current/Makefile b/news/inn-current/Makefile
index ec25eb0e8dce..1c8ebabc2036 100644
--- a/news/inn-current/Makefile
+++ b/news/inn-current/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
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
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