summaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-07-03 13:51:43 +0000
committerabs <abs@pkgsrc.org>2001-07-03 13:51:43 +0000
commitcfabf6920142ef9ff59e878b22dc1a11b4c11779 (patch)
treecddb92c01f290d41e96ca1bb62b128d33b3641ed /x11/xlockmore
parent3077aa755a0e98d169dbe3a3f2cbf0271985c98e (diff)
downloadpkgsrc-cfabf6920142ef9ff59e878b22dc1a11b4c11779.tar.gz
Move setting of USE_XPM and USE_MESA to before include bsd.prefs.mk - otherwise
recent HAVE_BUILTIN_XPM changes break this Makefile.
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 55015dbc2ec..ba8f50affc8 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2001/05/29 00:55:34 hubertf Exp $
+# $NetBSD: Makefile,v 1.44 2001/07/03 13:51:43 abs Exp $
# FreeBSD Id: Makefile,v 1.23 1997/10/10 09:24:38 tg Exp
#
@@ -13,26 +13,25 @@ COMMENT= Like the XLock session locker/screen saver, but with more
CHECK_MESA= YES
-.include "../../mk/bsd.prefs.mk"
-
-.if !defined(XLOCK_LIGHT)
+.if defined(XLOCK_LIGHT)
+CONFIGURE_ARGS+=--without-gltt --without-ttf --without-opengl --without-mesagl \
+ --without-xpm # --without-cxx XXX doesn't work
+CONFIGURE_ENV+= CXX="${CC}" # no dependency on libstdc++
+.else
+USE_XPM= YES
USE_MESA= YES
+CONFIGURE_ARGS+= --with-mesagl
.endif
+.include "../../mk/bsd.prefs.mk"
+
.if !exists(${X11BASE}/lib/libXdpms.a)
XLOCK_NO_DPMS= YES
.endif
GNU_CONFIGURE= YES
USE_X11BASE= YES
-.if defined(XLOCK_LIGHT)
-CONFIGURE_ARGS+=--without-gltt --without-ttf --without-opengl --without-mesagl \
- --without-xpm # --without-cxx XXX doesn't work
-CONFIGURE_ENV+= CXX="${CC}" # no dependency on libstdc++
-.else
-USE_XPM= YES
-CONFIGURE_ARGS+= --with-mesagl
-.endif
+
CONFIGURE_ARGS+= --without-motif --without-sx \
--without-editres --without-dtsaver --without-rplay \
--without-nas --without-gtk