From 7c5bdc9e42725790d9930beeb578c30ebc8ce8a9 Mon Sep 17 00:00:00 2001 From: sobomax Date: Sat, 14 Sep 2002 13:32:06 +0000 Subject: 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.) --- devel/gmake/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'devel/gmake') diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile index 5c90eb5..ce8d5b0 100644 --- a/devel/gmake/Makefile +++ b/devel/gmake/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_LOCALE_H -DHAVE_LC_MESSAG MAN1= gmake.1 +.ifdef USE_GMAKE +.error You have `USE_GMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + # joerg@freebsd.org says our getloadavg() no longer requires setgid kmem post-install: -- cgit v1.1