From 299d46f000dba0d53e16ec0f42688d77fed4294f Mon Sep 17 00:00:00 2001 From: perry Date: Thu, 5 Jul 2001 14:22:37 +0000 Subject: remove a test that changed the way the package was built depending on DISPLAY --- emulators/fmsx/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'emulators') diff --git a/emulators/fmsx/Makefile b/emulators/fmsx/Makefile index 2fece6f5c46..74aac6543e1 100644 --- a/emulators/fmsx/Makefile +++ b/emulators/fmsx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/06/03 17:34:57 kei Exp $ +# $NetBSD: Makefile,v 1.7 2001/07/05 14:22:37 perry Exp $ DISTNAME= fMSX24.tar PKGNAME= fmsx-2.4 @@ -49,8 +49,10 @@ do-install: .include "../../mk/bsd.pkg.mk" -.ifdef DISPLAY -CUR_DEPTH!= ( xwininfo -display ${DISPLAY} -root | fgrep Depth: | ${SED} 's-.*Depth: -BPP-' ) -.else +# XXX It would be nice to customize for each user's display, but this +# way of doing it at build time depending on build environment is wrong. +#.ifdef DISPLAY +#CUR_DEPTH!= ( xwininfo -display ${DISPLAY} -root | fgrep Depth: | ${SED} 's-.*Depth: -BPP-' ) +#.else CUR_DEPTH= BPP8 -.endif +#.endif -- cgit v1.2.3