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.) --- x11-toolkits/open-motif/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'x11-toolkits') diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile index 35f2126ed57e..5f308789a4ad 100644 --- a/x11-toolkits/open-motif/Makefile +++ b/x11-toolkits/open-motif/Makefile @@ -28,6 +28,10 @@ INSTALLS_SHLIB= yes DEMOS_SRC= ${WRKSRC}/demos/programs +.ifdef USE_MOTIF +.error You have `USE_MOTIF' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + .include .if ${XFREE86_VERSION} >= 4 -- cgit