[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Fixing lang/ocaml for NetBSD/powerpc?
> > I've noticed that lang/ocaml fails to build for NetBSD/macppc 4.0
> > with the following build failure:
> > gcc -O2 -I/usr/include -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE
> > -DTARGET_power -DSYS_elf -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
> > -DDB_DBM_HSEARCH -I/usr/include -c -o signals_asm.o signals_asm.c
> > signals_asm.c: In function 'handle_signal':
> > signals_asm.c:87: error: 'struct sigcontext' has no member named 'regs'
> Reminds me that it doesn't build for arm, either, but with different
Just an additional note: as I found and fixed the PLIST issue in
my case, someone suggested I could try to make lang/coq/, and
that one also succeeded to build (took a while, though...).
> I have a partial fix - one of our Makefile patches is logically broken -,
> but run into PLIST problems later, so I didn't commit anything yet.
If the PLIST problem is that you end up with a lot of *.p.cmx
files missing, the port is probably not set up to produce
profiling versions of these files, and that's dealt with by a
patch to the package Makefile similar to the one I found:
--- Makefile 22 Dec 2008 20:04:07 -0000 1.60
+++ Makefile 18 Jan 2009 16:25:09 -0000
@@ -30,6 +30,7 @@ BUILD_TARGET+= opt opt.opt
. if empty(MACHINE_PLATFORM:MDarwin-*-powerpc) && \
empty(MACHINE_PLATFORM:MSunOS-*-i386) && \
+ empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) && \
empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) && \
Main Index |
Thread Index |