Subject: Should lynx package use color-styles on NetBSD-1.5*?
To: None <tech-pkg@NetBSD.ORG>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 12/21/2001 19:54:24
What do people think of enabling color-styles for native curses on
NetBSD-1.5* only? The configure-time option "--color-styles" lets the
user pick a color scheme from a file at run-time. This only works with
ncurses, and NetBSD-1.5 and newer native curses. I believe it is
unusual to have different options for different platforms, so I'd like
to solicit opinions on this before committing it.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/lynx/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile 2001/12/21 03:55:50 1.43
+++ Makefile 2001/12/22 01:50:50
@@ -63,7 +63,11 @@
.elif (${LYNX_SCREEN_LIB} == ncurses)
DEPENDS+= ncurses-[0-9]*:../../devel/ncurses
CONFIGURE_ARGS+= --enable-color-style
-.elif (${LYNX_SCREEN_LIB} != curses)
+.elif (${LYNX_SCREEN_LIB} == curses)
+.if ${MACHINE_PLATFORM:MNetBSD-1.5*-i386} != ""
+CONFIGURE_ARGS+= --enable-color-style
+.endif
+.else
pre-configure:
@${ECHO} '****************************************************'
@${ECHO} '* Invalid value for LYNX_SCREEN_LIB. Please choose *'
Frederick