summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-28 11:21:40 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-28 11:21:40 +0000
commit7172f1a90062b3e176eedebdbd1c6bbb93c78bc9 (patch)
tree4033c47754082314fca322afa76b0535c20871b5
parente6d6d84207761981ec72e21ad7ea65da92948af4 (diff)
downloadfreebsd-ports-7172f1a90062b3e176eedebdbd1c6bbb93c78bc9.zip
Prevent building on anything besides tinderboxes by checking the existence
of an unique variable. Requested by: kris@
-rw-r--r--misc/instant-tinderbox/Makefile4
-rw-r--r--ports-mgmt/instant-tinderbox/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/misc/instant-tinderbox/Makefile b/misc/instant-tinderbox/Makefile
index f3088c3a3ace..34f9543df563 100644
--- a/misc/instant-tinderbox/Makefile
+++ b/misc/instant-tinderbox/Makefile
@@ -13,6 +13,10 @@ DISTFILES=
MAINTAINER= edwin@mavetju.org
COMMENT= Build a whole bunch of often-required ports for a tinderbox environment
+.if !defined(TINDERD_SLEEPTIME)
+IGNORE= should only be build from within a Tinderbox environment
+.endif
+
###############################################################################
USE_SDL= ${_USE_SDL_ALL}
diff --git a/ports-mgmt/instant-tinderbox/Makefile b/ports-mgmt/instant-tinderbox/Makefile
index f3088c3a3ace..34f9543df563 100644
--- a/ports-mgmt/instant-tinderbox/Makefile
+++ b/ports-mgmt/instant-tinderbox/Makefile
@@ -13,6 +13,10 @@ DISTFILES=
MAINTAINER= edwin@mavetju.org
COMMENT= Build a whole bunch of often-required ports for a tinderbox environment
+.if !defined(TINDERD_SLEEPTIME)
+IGNORE= should only be build from within a Tinderbox environment
+.endif
+
###############################################################################
USE_SDL= ${_USE_SDL_ALL}