summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2001-04-20 12:18:05 +0000
committerThomas Gellekum <tg@FreeBSD.org>2001-04-20 12:18:05 +0000
commitd3e6db02472fc7e0f146051be542b8849f9a129c (patch)
tree440e82b2f31752a7ff0c25e26518e50f9d15b482 /x11
parentUpdate to 0.5.5. (diff)
Add ${PTHREAD_LIBS} to the libs to fix building on XFree86-4.
PR: 25207 Reviewed by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Notes
Notes: svn path=/head/; revision=41705
Diffstat (limited to 'x11')
-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