aboutsummaryrefslogtreecommitdiffstats
path: root/x11/dgs/Makefile
diff options
context:
space:
mode:
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>