summaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorlukem <lukem>2001-07-26 03:35:25 +0000
committerlukem <lukem>2001-07-26 03:35:25 +0000
commite5cbe236fda3840c82828f0afde1565f7480ea8f (patch)
treec6dbe43af966fb6ad97fe49a0f739cc8283501c3 /x11/xlockmore
parentb65318e16623b95ebac47e4e6a5323187bed8695 (diff)
downloadpkgsrc-e5cbe236fda3840c82828f0afde1565f7480ea8f.tar.gz
move .include "../../mk/bsd.prefs.mk" to before check for XLOCK_LIGHT
but after CHECK_MESA setting. this change makes setting XLOCK_LIGHT actually DTRT if it is set in /etc/mk.conf (and seems to DTRT if XLOCK_LIGHT isn't set). i.e, on a machine without Mesa, by default it will attempt to install Mesa (et al), unless XLOCK_LIGHT is set where it won't attempt to.
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index ba8f50affc8..0037c535bbf 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2001/07/03 13:51:43 abs Exp $
+# $NetBSD: Makefile,v 1.45 2001/07/26 03:35:25 lukem Exp $
# FreeBSD Id: Makefile,v 1.23 1997/10/10 09:24:38 tg Exp
#
@@ -13,6 +13,8 @@ COMMENT= Like the XLock session locker/screen saver, but with more
CHECK_MESA= YES
+.include "../../mk/bsd.prefs.mk"
+
.if defined(XLOCK_LIGHT)
CONFIGURE_ARGS+=--without-gltt --without-ttf --without-opengl --without-mesagl \
--without-xpm # --without-cxx XXX doesn't work
@@ -23,8 +25,6 @@ USE_MESA= YES
CONFIGURE_ARGS+= --with-mesagl
.endif
-.include "../../mk/bsd.prefs.mk"
-
.if !exists(${X11BASE}/lib/libXdpms.a)
XLOCK_NO_DPMS= YES
.endif