summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorperry <perry@pkgsrc.org>2001-07-05 14:22:37 +0000
committerperry <perry@pkgsrc.org>2001-07-05 14:22:37 +0000
commit299d46f000dba0d53e16ec0f42688d77fed4294f (patch)
treedc0613144c72b3d2313e02f04f48d324aaaab13e /emulators
parent4b03a419f77bf112a4ed760c16c1d254e8f3f045 (diff)
downloadpkgsrc-299d46f000dba0d53e16ec0f42688d77fed4294f.tar.gz
remove a test that changed the way the package was built depending on DISPLAY
Diffstat (limited to 'emulators')
-rw-r--r--emulators/fmsx/Makefile12
1 files changed, 7 insertions, 5 deletions
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