diff options
author | abs <abs> | 2001-07-03 13:51:43 +0000 |
---|---|---|
committer | abs <abs> | 2001-07-03 13:51:43 +0000 |
commit | 00bef4adaccada59c4ee17726e262fd7ec6a7bb5 (patch) | |
tree | cddb92c01f290d41e96ca1bb62b128d33b3641ed /x11 | |
parent | 375ed3b08d6e3b075df3cc3cab4865962cafbdbb (diff) | |
download | pkgsrc-00bef4adaccada59c4ee17726e262fd7ec6a7bb5.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')
-rw-r--r-- | x11/xlockmore/Makefile | 23 |
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 |