diff options
author | yyamano <yyamano> | 2003-02-09 11:59:16 +0000 |
---|---|---|
committer | yyamano <yyamano> | 2003-02-09 11:59:16 +0000 |
commit | 5c8ac63d5dd7eaad7c5729084c879aaf1162ee4a (patch) | |
tree | 61f50a6482e93f11656484ec6edc0ae659029b9e | |
parent | fe5bc07856d92490f06094ce68ff0a9f1f97a70c (diff) | |
download | pkgsrc-5c8ac63d5dd7eaad7c5729084c879aaf1162ee4a.tar.gz |
Make this build on darwin.
-rw-r--r-- | www/w3m/Makefile.common | 9 |
1 files changed, 7 insertions, 2 deletions
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 |