diff options
author | jlam <jlam> | 2008-03-05 18:01:50 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-05 18:01:50 +0000 |
commit | b9c5f32db638ee7d7e480fc8b0bbc245df9fad81 (patch) | |
tree | 9c41cf7f86a6428f8c2b8ac34c8ef0b0b2227f03 /www/w3m | |
parent | f7971c2aa0d0b8cd80936a1e195ebe9d22a5e15d (diff) | |
download | pkgsrc-b9c5f32db638ee7d7e480fc8b0bbc245df9fad81.tar.gz |
+ Include termcap.buildlink3.mk instead of using ${OPSYS} to guess at
the right terminal library.
Bump the PKGREVISION of www/w3m and www/w3m-img to 2.
Diffstat (limited to 'www/w3m')
-rw-r--r-- | www/w3m/Makefile | 4 | ||||
-rw-r--r-- | www/w3m/Makefile.common | 16 |
2 files changed, 6 insertions, 14 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile index ae8a5d84455..a5c57af31a0 100644 --- a/www/w3m/Makefile +++ b/www/w3m/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.54 2008/01/18 05:09:54 tnn Exp $ +# $NetBSD: Makefile,v 1.55 2008/03/05 18:01:50 jlam 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 479424540c3..9ad9f0c7464 100644 --- a/www/w3m/Makefile.common +++ b/www/w3m/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.47 2007/06/02 02:35:42 uebayasi Exp $ +# $NetBSD: Makefile.common,v 1.48 2008/03/05 18:01:50 jlam Exp $ # DISTNAME= w3m-${W3M_VERS} @@ -28,15 +28,6 @@ _W3M_USE_IMAGE?= NO .include "../../mk/bsd.prefs.mk" -.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 - # Configurable by environment variables at run-time. CONFIGURE_ARGS+= --with-charset=US-ASCII @@ -48,8 +39,9 @@ CONFIGURE_ARGS+= --enable-color CONFIGURE_ARGS+= --enable-cookie CONFIGURE_ARGS+= --enable-mouse CONFIGURE_ARGS+= --with-browser= +CONFIGURE_ARGS+= --with-termlib CONFIGURE_ARGS+= --with-editor=vi -CONFIGURE_ARGS+= --with-gc=${BUILDLINK_PREFIX.boehm-gc} +CONFIGURE_ARGS+= --with-gc=${BUILDLINK_PREFIX.boehm-gc:Q} CONFIGURE_ARGS+= --with-mailer=${MAIL_CMD:Q} CONFIGURE_ARGS+= --with-ssl=${SSLBASE:Q} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} @@ -80,5 +72,5 @@ post-install: .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" - +.include "../../mk/termcap.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |