Date: Thu, 27 Feb 2014 16:00:01 GMT From: Tijl Coosemans <tijl@FreeBSD.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/186948: www/netsurf: ia64 11-current build failure: /usr/local/lib/libiconv.so.3: invalid DSO for symbol `libiconv' definition Message-ID: <201402271600.s1RG01tn009475@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/186948; it has been noted by GNATS. From: Tijl Coosemans <tijl@FreeBSD.org> To: bug-followup@FreeBSD.org, mexas@bris.ac.uk Cc: Subject: Re: ports/186948: www/netsurf: ia64 11-current build failure: /usr/local/lib/libiconv.so.3: invalid DSO for symbol `libiconv' definition Date: Thu, 27 Feb 2014 16:54:07 +0100 --MP_/A8xGFKKvQyRkIy6SL0+26tL Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Please try the attached patch. --MP_/A8xGFKKvQyRkIy6SL0+26tL Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=netsurf.patch Index: www/netsurf/Makefile =================================================================== --- www/netsurf/Makefile (revision 346335) +++ www/netsurf/Makefile (working copy) @@ -46,6 +46,8 @@ LIB_DEPENDS+= libssl.so:${PORTSDIR}/secu BUILD_DEPENDS+= gperf:${PORTSDIR}/devel/gperf .endif +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} '/^NSFB_LINUX_AVAILABLE/ s|yes|no| ; s| -g||' \ ${WRKSRC}/src/libnsfb-${NSFB_VERSION}/Makefile @@ -62,6 +64,10 @@ post-patch: do-configure: @${CP} ${FILESDIR}/Makefile.config ${WRKSRC}/src/netsurf-${PORTVERSION} +.if empty(ICONV_LIB) + @${REINPLACE_CMD} '/NETSURF_USE_LIBICONV_PLUG/ s|NO|YES|' \ + ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config +.endif .if ${PORT_OPTIONS:MGSTREAMER} @${REINPLACE_CMD} '/NETSURF_USE_VIDEO/ s|NO|YES|' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config @@ -71,4 +77,4 @@ do-configure: ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> --MP_/A8xGFKKvQyRkIy6SL0+26tL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402271600.s1RG01tn009475>