diff options
author | kei <kei> | 2005-05-05 20:50:49 +0000 |
---|---|---|
committer | kei <kei> | 2005-05-05 20:50:49 +0000 |
commit | 4f792218651b59c18e2f7b0385a61f5c21e4a6b4 (patch) | |
tree | 1b127bbeb02012ee3204d1a20ac97c6a15595876 /www/w3m | |
parent | 475b11cc772dd045be851ab88c3df36f9ca02c6e (diff) | |
download | pkgsrc-4f792218651b59c18e2f7b0385a61f5c21e4a6b4.tar.gz |
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.
Diffstat (limited to 'www/w3m')
-rw-r--r-- | www/w3m/Makefile | 4 | ||||
-rw-r--r-- | www/w3m/Makefile.common | 8 |
2 files changed, 8 insertions, 4 deletions
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='' |