aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/open-motif/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/open-motif/Makefile')
-rw-r--r--x11-toolkits/open-motif/Makefile4
1 files changed, 4 insertions, 0 deletions
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 <bsd.port.pre.mk>
.if ${XFREE86_VERSION} >= 4