summaryrefslogtreecommitdiff
path: root/x11/dgs/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 /x11/dgs/Makefile
parent- Drop bash from RUN_DEPENDS, which is ugly and also conflicts with some of (diff)
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 'x11/dgs/Makefile')
-rw-r--r--x11/dgs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/dgs/Makefile b/x11/dgs/Makefile
index 3811835380a7..036afd4507dd 100644
--- a/x11/dgs/Makefile
+++ b/x11/dgs/Makefile
@@ -28,10 +28,12 @@ GNU_CONFIGURE= yes
MAN1= dgs.1 dpsnx.agent.1
MANN= dpsexec.man makepsres.man xepsf.man
+.ifdef USE_DGS
+.error You have `USE_DGS' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-patch:
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|manm|mann|g'
-
-
.include <bsd.port.mk>