ports/133590: www/libxul: build failure

barbara barbara.xxx1975 at libero.it
Mon Apr 13 01:00:48 UTC 2009


> On Sun, 2009-04-12 at 12:03 +0200, barbara wrote:
> > > Synopsis: www/libxul: build failure
> > >
> > > State-Changed-From-To: open->feedback
> > > State-Changed-By: marcus
> > > State-Changed-When: Sun Apr 12 06:18:26 UTC 2009
> > > State-Changed-Why:
> > > Is this fixed in 1.9.0.7_3?
> > >
> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=133590
> > >
> >
> > Unfortunately no.
> > I had exactly the same error.
>
> Try taking the patch-config_rules.mk from www/firefox3, and see if that
> fixes the problem.
>


They build ended successfully using the following patch:
------------------------------------------------------------------------
--- config/rules.mk.orig 2008-06-25 01:29:46.000000000 +0200
+++ config/rules.mk 2009-04-13 00:51:51.000000000 +0200
@@ -468,9 +468,7 @@
endif

ifeq ($(OS_ARCH),FreeBSD)
-ifdef IS_COMPONENT
-EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
-endif
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic -lc
endif

ifeq ($(OS_ARCH),NetBSD)
------------------------------------------------------------------------




I would also like to ask you if the confusing message from pkg_info while running make patch could be suppressed:

------------------------------------------------------------------------
--- bsd.gecko.mk.orig 2009-04-12 21:27:11.000000000 +0200
+++ bsd.gecko.mk 2009-04-13 02:22:54.000000000 +0200
@@ -532,7 +532,7 @@
@${REINPLACE_CMD} -e 's|/usr/local/netscape|${LOCALBASE}|g ; \
s|/usr/local/lib/netscape|${LOCALBASE}/lib|g' \
${WRKSRC}/xpcom/*/SpecialSystemDirectory.cpp
- @if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
+ @if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]' 2>/dev/null`" ]; then \
${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
${FALSE}; \
fi
------------------------------------------------------------------------


Thanks
Barbara

P.S.
sorry for the lines ending with an '=' sign, I think it's caused by the webmail I'm using. It affected two lines in the bsd.gecko.mk patch.





More information about the freebsd-gnome mailing list