Subject: Re: pkgsrc/www/w3m and curses and sysconfdir and mailer
To: None <reed@reedmedia.net>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
List: tech-pkg
Date: 05/05/2005 22:59:11
Hmm, it seems that the message I sent was lost in somewhere.
From: "Jeremy C. Reed" <reed@reedmedia.net>
Subject: pkgsrc/www/w3m and curses and sysconfdir and mailer
Date: Tue, 3 May 2005 12:57:34 -0700 (PDT)
> Building pkgsrc/www/w3m failed for me under Linux with:
:
> Also, the CONF_DIR by default is PREFIX/etc instead of PKG_SYSCONFDIR.
>
> Maybe:
> +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
OK. I'll add the line.
> But then I don't know if ETC_DIR is correct or not for mime.types or
> urimethodmap.
>
> Also, where should mailcap be?
> SYS_MAILCAP CONF_DIR "/mailcap"
> It seems like ETC_DIR "/mailcap" would be better. Or should there be a w3m
> specific mailcap?
I understand. But w3m has its own extended feature in
mailcap usage, so I'd say leave this unchanged.
doc-jp/README.mailcap mentions that (but it's written in
Japanese).
> Also, maybe use MAIL_CMD.
>
> -CONFIGURE_ARGS+= --with-mailer=Mail
> +CONFIGURE_ARGS+= --with-mailer=${MAIL_CMD}
I'll take the change.
From: "Jeremy C. Reed" <reed@reedmedia.net>
Subject: Re: pkgsrc/www/w3m and curses and sysconfdir and mailer
Date: Tue, 3 May 2005 13:11:57 -0700 (PDT)
> On Tue, 3 May 2005, Jeremy C. Reed wrote:
>
> > terms.o(.text+0x2933):/tmp/pkgsrc/www/w3m/work.montecristo/w3m-0.5.1/terms.c:1395:
> > undefined reference to `tgoto'
>
> > I also tried --with-termlib=curses too.
>
> Using --with-termlib=ncurses worked for me. (Notice the "n".)
>
> And I also had:
> .include "../../mk/curses.buildlink3.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
>
> Also, maybe --with-termlib=yes would work as it tries to detect.
Well, I'm afraid that setting it to `yes' causes
side-effects. I'll apply your patch this time. Thank you.
--
SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>