ports/186948: www/netsurf: ia64 11-current build failure: /usr/local/lib/libiconv.so.3: invalid DSO for symbol `libiconv' definition
Tijl Coosemans
tijl at FreeBSD.org
Thu Feb 27 16:00:01 UTC 2014
The following reply was made to PR ports/186948; it has been noted by GNATS.
From: Tijl Coosemans <tijl at FreeBSD.org>
To: bug-followup at FreeBSD.org, mexas at 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--
More information about the freebsd-ports-bugs
mailing list