aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-07-18 18:46:13 +0800
committertg <tg@FreeBSD.org>2001-07-18 18:46:13 +0800
commita5dbe5b6f35e76b23cff42b7c238de1366a4f5c7 (patch)
tree9a421e2c486a7b4b3b84283642d9c30140de9fb6 /x11
parent97c22c56f094787b624974a70f8150b5bad0ab4d (diff)
downloadfreebsd-ports-gnome-a5dbe5b6f35e76b23cff42b7c238de1366a4f5c7.tar.gz
freebsd-ports-gnome-a5dbe5b6f35e76b23cff42b7c238de1366a4f5c7.tar.zst
freebsd-ports-gnome-a5dbe5b6f35e76b23cff42b7c238de1366a4f5c7.zip
Link against ${PTHREAD_LIBS} if we want MESAGL. Mesa is now compiled
with thread support also on XFree86-3 systems.
Diffstat (limited to 'x11')
-rw-r--r--x11/xlockmore/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 2d9ea17f32fd..acb691bc9709 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -28,23 +28,17 @@ USE_X_PREFIX= yes
USE_XPM= yes
MAN1= xlock.1
-.include <bsd.port.pre.mk>
-
-# .if ${OSVERSION} > 300000
-# CONFIGURE_ARGS+= --with-libraries=/usr/lib/aout
-# .endif
-
WITH_MESAGL?= yes
.if ${WITH_MESAGL} == yes
CONFIGURE_ARGS+= --with-mesagl
-USE_MESA= yes
-.if ${XFREE86_VERSION} >= 4
CONFIGURE_ENV+= XLOCKLIBS="${PTHREAD_LIBS}"
-.endif
+USE_MESA= yes
.else
CONFIGURE_ARGS+= --without-mesagl --without-opengl
.endif
+.include <bsd.port.pre.mk>
+
.if defined(WITH_DISABLE_ALLOW_ROOT)
CONFIGURE_ARGS+= --disable-allow-root
.endif