summaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2001-07-18 10:46:13 +0000
committerThomas Gellekum <tg@FreeBSD.org>2001-07-18 10:46:13 +0000
commitdda149dcce02a594e70ebea323ac6756f4cfbe61 (patch)
treed18310c71089378ca9cec8be082682c3406bcb03 /x11/xlockmore
parentUpdate to mod_perl-1.26. (diff)
Link against ${PTHREAD_LIBS} if we want MESAGL. Mesa is now compiled
with thread support also on XFree86-3 systems.
Notes
Notes: svn path=/head/; revision=45217
Diffstat (limited to 'x11/xlockmore')
-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