pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: openoffice build problem

> I tried to build openoffce on NetBSD-6/i386 and got this:
> ld: cannot find -lraptor2

I stumbled across this problem when rebuilding pkgs on my recently
upgraded-to-6.0_BETA i386-running laptop, and even though this is
probably not the correct set of fixes, this made it build for me.

Oddly, I'm not seeing this build problem on NetBSD 5.1.

Index: Makefile
RCS file: /cvsroot/pkgsrc/misc/openoffice3/Makefile,v
retrieving revision 1.67
diff -u -p -u -1 -r1.67 Makefile
--- Makefile    22 Mar 2012 21:36:08 -0000      1.67
+++ Makefile    18 May 2012 19:38:42 -0000
@@ -36,2 +36,5 @@ USE_LANGUAGES+=               c c++
+# Fix from joerg, for getting the correct libpixman library
 CONFLICTS+=            staroffice-[0-9]*
@@ -212,4 +215,6 @@ post-install:
 .include "../../textproc/libxslt/"
+.include "../../textproc/raptor2/"
 .include "../../www/curl/"
 .include "../../www/neon/"
+.include "../../x11/pixman/"
 .include "../../x11/libX11/"

I suspect the LDFLAGS+= setting is not needed anymore, I think it
predates the other insertions by quite a bit, and may not be neeede
after my change to the gcc wrapper to rewrite -R to -Wl,-R in gcc
invocations.  I suspect also the pixman buildlink include was a
result of an earlier attempt at fixing what was referred to "the
pixman problem", which was also fixed by the above mentioned wrapper


- Håvard

Home | Main Index | Thread Index | Old Index