aboutsummaryrefslogtreecommitdiffstats
path: root/devel/automake
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-09-14 21:32:06 +0800
committersobomax <sobomax@FreeBSD.org>2002-09-14 21:32:06 +0800
commit7c5bdc9e42725790d9930beeb578c30ebc8ce8a9 (patch)
tree9ea2ff2cc7182f0fa38f332ffb8c81d1929f4eeb /devel/automake
parenta33bc26ff1a1f6aaf0830cba9032d189c98a2ee8 (diff)
downloadfreebsd-ports-gnome-7c5bdc9e42725790d9930beeb578c30ebc8ce8a9.tar.gz
freebsd-ports-gnome-7c5bdc9e42725790d9930beeb578c30ebc8ce8a9.tar.zst
freebsd-ports-gnome-7c5bdc9e42725790d9930beeb578c30ebc8ce8a9.zip
Due to popular demant into each port which might be inserted into dependency
list by bsd.port.mk insert anti foot-shooting device, which prevents infinite fork loop when the user defines corresponding USE_XXX in global make.conf, command line or environment. Similar devices should probably be inserted into ports that might be inserted into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk and so on.)
Diffstat (limited to 'devel/automake')
-rw-r--r--devel/automake/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/automake/Makefile b/devel/automake/Makefile
index 6bdf74a777bd..a63c7ea3d63d 100644
--- a/devel/automake/Makefile
+++ b/devel/automake/Makefile
@@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-configure:
${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in