diff options
author | jwise <jwise> | 2000-11-30 01:16:16 +0000 |
---|---|---|
committer | jwise <jwise> | 2000-11-30 01:16:16 +0000 |
commit | 1e96f3e548ca5837392c3a02d5bf7c64a1f4e07c (patch) | |
tree | 9a9f95524fdeb4b7e0532eb34b0bf5921655f76e /x11/xlockmore | |
parent | 42a061a878bd9e49b4b865067ece313f11ba9b37 (diff) | |
download | pkgsrc-1e96f3e548ca5837392c3a02d5bf7c64a1f4e07c.tar.gz |
Make this work on systems (XFree86 4) without libXdpms. I am testing now
whether this works completely correctly (without this patch, xlockmore will
not compile).
Diffstat (limited to 'x11/xlockmore')
-rw-r--r-- | x11/xlockmore/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile index d5135a61f20..28bde83cc45 100644 --- a/x11/xlockmore/Makefile +++ b/x11/xlockmore/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2000/10/22 05:56:14 rh Exp $ +# $NetBSD: Makefile,v 1.38 2000/11/30 01:16:16 jwise Exp $ # FreeBSD Id: Makefile,v 1.23 1997/10/10 09:24:38 tg Exp # @@ -18,6 +18,10 @@ CHECK_MESA= YES USE_MESA= YES .endif +.if !exists(${X11BASE}/lib/libXdpms.a) +XLOCK_NO_DPMS= YES +.endif + GNU_CONFIGURE= YES USE_X11BASE= YES .if defined(XLOCK_LIGHT) @@ -34,6 +38,10 @@ CONFIGURE_ARGS+= --without-motif --without-sx \ CONFIGURE_ARGS+= --enable-def_play='/usr/bin/audioplay ${PREFIX}/lib/X11/xlockmore/' .endif +.if defined(XLOCK_NO_DPMS) +CONFIGURE_ARGS+= --without-dpms +.endif + post-patch: for i in xlock/sound.c xlock/resource.c ; do \ f=${WRKSRC}/$$i ; \ |