summaryrefslogtreecommitdiffstats
path: root/graphics/mesagl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mesagl/Makefile')
-rw-r--r--graphics/mesagl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile
index a8200a9..1e392a6 100644
--- a/graphics/mesagl/Makefile
+++ b/graphics/mesagl/Makefile
@@ -53,6 +53,10 @@ MAKE_ARGS= -e
MAKE_ENV+= SUB_GL="${SUB_GL}" \
INCLUDE_GL=${INCLUDE_GL}
+.ifdef USE_MESA
+.error You have `USE_MESA' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
OpenPOWER on IntegriCloud