summaryrefslogtreecommitdiff
path: root/www/w3m
diff options
context:
space:
mode:
authoryyamano <yyamano@pkgsrc.org>2003-02-09 11:59:16 +0000
committeryyamano <yyamano@pkgsrc.org>2003-02-09 11:59:16 +0000
commit8798553df395c3d269be40bc3bee71540c8aaf2f (patch)
tree61f50a6482e93f11656484ec6edc0ae659029b9e /www/w3m
parenta81febe671b63ff75ec77164a14b1852e10ccbea (diff)
downloadpkgsrc-8798553df395c3d269be40bc3bee71540c8aaf2f.tar.gz
Make this build on darwin.
Diffstat (limited to 'www/w3m')
-rw-r--r--www/w3m/Makefile.common9
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