summaryrefslogtreecommitdiffstats
path: root/x11/xlockmore/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-04-20 12:18:05 +0000
committertg <tg@FreeBSD.org>2001-04-20 12:18:05 +0000
commitf2ce8027f46aff5165c39a9fd9a2d250d0f5ae11 (patch)
treeea909f96cb23830d944f89f933bd623f86b0dd94 /x11/xlockmore/Makefile
parentc47243b18d3cd8a6c4ac091ac5f4ada099506895 (diff)
downloadFreeBSD-ports-f2ce8027f46aff5165c39a9fd9a2d250d0f5ae11.zip
FreeBSD-ports-f2ce8027f46aff5165c39a9fd9a2d250d0f5ae11.tar.gz
Add ${PTHREAD_LIBS} to the libs to fix building on XFree86-4.
PR: 25207 Reviewed by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Diffstat (limited to 'x11/xlockmore/Makefile')
-rw-r--r--x11/xlockmore/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 0054e30..28228b6 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
OpenPOWER on IntegriCloud