aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/xlockmore/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 0054e303188f..28228b62a57f 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -38,8 +38,11 @@ WITH_MESAGL?= yes
.if ${WITH_MESAGL} == yes
CONFIGURE_ARGS+= --with-mesagl
USE_MESA= yes
+.if ${XFREE86_VERSION} >= 4
+CONFIGURE_ENV+= XLOCKLIBS="${PTHREAD_LIBS}"
+.endif
.else
-CONFIGURE_ARGS+= --without-mesagl
+CONFIGURE_ARGS+= --without-mesagl --without-opengl
.endif
.if ${XFREE86_VERSION} >= 4