On Wed, Jul 04, 2007 at 09:42:26PM +0100, Stuart Henderson wrote:
> > With boehm-gc-8.0 the build for w3m is broken:
>
> I don't know if it's the case here or not, but you often need
> to deinstall an old package before you build a new one - might
> be worth a go (or it might not help at all).
No, the updated boehm-gc just needs all programs using it to be
linked with -pthread. For w3m, see the patch below.
And for boehm-gc itself, libgc really needs a major version bump
(to 2.0), IMHO.
Ciao,
Kili
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/w3m/Makefile,v
retrieving revision 1.64
diff -u -p -r1.64 Makefile
--- Makefile 1 Jan 2007 23:38:51 -0000 1.64
+++ Makefile 4 Jul 2007 20:02:58 -0000
@@ -7,7 +7,7 @@ BROKEN= crashes
COMMENT= "pager/text-based web browser"
DISTNAME= w3m-0.5.1
-PKGNAME= ${DISTNAME}p2
+PKGNAME= ${DISTNAME}p3
CATEGORIES= www
HOMEPAGE= http://w3m.sourceforge.net/
@@ -16,7 +16,7 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB= c crypto curses m ssl z
+WANTLIB= c crypto curses m pthread ssl z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=w3m/}
MASTER_SITES0= http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/
@@ -32,6 +32,7 @@ CONFIGURE_ARGS= --disable-xface \
--with-browser=/usr/bin/lynx \
--with-termlib=curses \
--with-gc=${LOCALBASE}
+CONFIGURE_ENV= LDFLAGS=-pthread
NO_REGRESS= Yes