From 5c8ac63d5dd7eaad7c5729084c879aaf1162ee4a Mon Sep 17 00:00:00 2001 From: yyamano Date: Sun, 9 Feb 2003 11:59:16 +0000 Subject: Make this build on darwin. --- www/w3m/Makefile.common | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'www/w3m/Makefile.common') diff --git a/www/w3m/Makefile.common b/www/w3m/Makefile.common index 0851efdee88..5f69c6c7fd2 100644 --- a/www/w3m/Makefile.common +++ b/www/w3m/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.13 2003/01/02 16:13:34 uebayasi Exp $ +# $NetBSD: Makefile.common,v 1.14 2003/02/09 11:59:16 yyamano Exp $ # DISTNAME= w3m-${W3M_VERS} @@ -113,7 +113,12 @@ CONFIGURE_ENV+= use_image=n CONFIGURE_ENV+= use_menu=y use_matrix=n use_ansi_color=y CONFIGURE_ENV+= use_help_cgi=n use_migemo=n CONFIGURE_ENV+= ded=vi dmail=Mail dbrowser= -CONFIGURE_ENV+= dcc="${CC}" dtermlib="-ltermcap" +CONFIGURE_ENV+= dcc="${CC}" +.if ${OPSYS} == "Darwin" +CONFIGURE_ENV+= dtermlib="-lcurses" +.else +CONFIGURE_ENV+= dtermlib="-ltermcap" +.endif CONFIGURE_ENV+= dmodel=6 CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}" CONFIGURE_ARGS+= --yes -- cgit v1.2.3