aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-04-20 20:18:05 +0800
committertg <tg@FreeBSD.org>2001-04-20 20:18:05 +0800
commitf2ce8027f46aff5165c39a9fd9a2d250d0f5ae11 (patch)
treeea909f96cb23830d944f89f933bd623f86b0dd94 /x11
parentc47243b18d3cd8a6c4ac091ac5f4ada099506895 (diff)
downloadfreebsd-ports-gnome-f2ce8027f46aff5165c39a9fd9a2d250d0f5ae11.tar.gz
freebsd-ports-gnome-f2ce8027f46aff5165c39a9fd9a2d250d0f5ae11.tar.zst
freebsd-ports-gnome-f2ce8027f46aff5165c39a9fd9a2d250d0f5ae11.zip
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')
-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