aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4-libraries/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-4-libraries/Makefile')
-rw-r--r--x11/XFree86-4-libraries/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile
index 7ba9227c93d6..8fb1cdccdd12 100644
--- a/x11/XFree86-4-libraries/Makefile
+++ b/x11/XFree86-4-libraries/Makefile
@@ -74,6 +74,10 @@ ForceNormalLib?= DEFAULT
DebuggableLibraries?= DEFAULT
# End of XFree86 User Config
+.ifdef USE_XLIB
+.error You have `USE_XLIB' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
.include <bsd.port.pre.mk>
# BuildXF86DRI is false for FreeBSD < 4.1