From 2a7500290e0267115418ad838261ea73fcccfcfe Mon Sep 17 00:00:00 2001 From: kei Date: Thu, 5 May 2005 20:50:49 +0000 Subject: fix/improvement from Jeremy C. Reed. - honor PKG_SYSCONFDIR. - --with-termlib=ncurses is needed under linux. - specify ${MAIL_CMD}, not 'Mail' directly as mailer. bump PKGREVISION. --- www/w3m/Makefile | 4 ++-- www/w3m/Makefile.common | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'www/w3m') diff --git a/www/w3m/Makefile b/www/w3m/Makefile index 2b9755cfa09..e955a9b376e 100644 --- a/www/w3m/Makefile +++ b/www/w3m/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.45 2004/07/18 10:49:49 recht Exp $ +# $NetBSD: Makefile,v 1.46 2005/05/05 20:50:49 kei Exp $ # PKGNAME= w3m-${W3M_VERS} -PKGREVISION= 1 +PKGREVISION= 2 COMMENT= Multilingualized version of a pager/text-based browser w3m CONFLICTS+= w3m-img-[0-9]* diff --git a/www/w3m/Makefile.common b/www/w3m/Makefile.common index 24874c246c2..0a959eaf4ff 100644 --- a/www/w3m/Makefile.common +++ b/www/w3m/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.32 2005/04/11 21:48:02 tv Exp $ +# $NetBSD: Makefile.common,v 1.33 2005/05/05 20:50:49 kei Exp $ # DISTNAME= w3m-${W3M_VERS} @@ -70,6 +70,9 @@ CONFIGURE_ARGS+= --disable-image .if ${OPSYS} == "Darwin" CONFIGURE_ARGS+= --with-termlib=curses +.elif ${OPSYS} == "Linux" +.include "../../mk/curses.buildlink3.mk" +CONFIGURE_ARGS+= --with-termlib=ncurses .else CONFIGURE_ARGS+= --with-termlib=termcap .endif @@ -87,8 +90,9 @@ CONFIGURE_ARGS+= --enable-mouse CONFIGURE_ARGS+= --with-browser= CONFIGURE_ARGS+= --with-editor=vi CONFIGURE_ARGS+= --with-gc=${BUILDLINK_PREFIX.boehm-gc} -CONFIGURE_ARGS+= --with-mailer=Mail +CONFIGURE_ARGS+= --with-mailer=${MAIL_CMD} CONFIGURE_ARGS+= --with-ssl=${SSLBASE} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} .if ${_W3M_USE_IMAGE} == YES PLIST_SUBST+= USE_IMAGE='' -- cgit v1.2.3