aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc295/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-09-14 13:32:06 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-09-14 13:32:06 +0000
commit4fe6852b8fc27fae11fdc1a2e6a04519dff79d2d (patch)
tree3c0e8bfe673a5c1e30efc1a8f7c2fa62a73243fc /lang/gcc295/Makefile
parentaa0a6b33abb64a760dac34854c5336e9dd14e0c3 (diff)
downloadports-4fe6852b8fc27fae11fdc1a2e6a04519dff79d2d.tar.gz
ports-4fe6852b8fc27fae11fdc1a2e6a04519dff79d2d.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.)
Notes
Notes: svn path=/head/; revision=66299
Diffstat (limited to 'lang/gcc295/Makefile')
-rw-r--r--lang/gcc295/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile
index b6f8482a3a80..afc8c93d76ab 100644
--- a/lang/gcc295/Makefile
+++ b/lang/gcc295/Makefile
@@ -21,6 +21,10 @@ USE_BZIP2= yes
LATEST_LINK= gcc295
+.ifdef USE_GCC
+.error You have `USE_GCC' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
.include <bsd.port.pre.mk>
GCC_REV= ${DISTNAME:S/gcc-//g:S/.test3//g}