Date: Wed, 5 Sep 2012 22:54:10 +0300 From: Alexander Yerenkow <yerenkow@gmail.com> To: Ports FreeBSD <freebsd-ports@freebsd.org> Subject: Strange behavior in mc-light Message-ID: <CAPJF9wn0sZhrzrtnD-9A--q_sohHaAcM3NrgOb2Vcu71eFqcgA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello all. Since there's no maintainer for mc-light, I'd like to ask help from all of you :) I'm cross-compiling this port for arm, with such command: env TARGET=arm TARGET_ARCH=armv6 TARGET_CPUARCH=armv6 CONFIGURE_HOST=arm-portbld-freebsd10.0 PATH=/usr/obj/arm.armv6/usr/src/tmp/usr/bin:${PATH} STRIP_CMD=/usr/obj/arm.armv6/usr/src/tmp/usr/bin/strip make WITHOUT_CHECKS=yes -C /usr/ports/misc/mc-light build This device seems have no MMAP, so I had to comment out these lines: view.c:643 // if (intr_flag) { // view->partial = 1; // view->s.st_size = 0; // } Looks like not complete patching for me :) But that's not the point. Main problem that I got failing at one place (repeated with manual gmake call) # env TARGET=arm TARGET_ARCH=armv6 TARGET_CPUARCH=armv6 CONFIGURE_HOST=arm-portbld-freebsd10.0 PATH=/usr/obj/arm.armv6/usr/src/tmp/usr/bin:${PATH} STRIP_CMD=/usr/obj/arm.armv6/usr/src/tmp/usr/bin/strip gmake man2hlp cc -O2 -pipe -fno-strict-aliasing -I.. -I/wrkdirs/usr/ports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\" -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC armv6 man2hlp.c -o man2hlp cc: armv6: No such file or directory gmake: *** [man2hlp] Error 1 Seems that somehow after -DREGEX_MALLOC there for some reason inserted $TARGET_ARCH (rechecked with different values, like arm67 ) Is there any sense in this? Thanks. -- Regards, Alexander Yerenkow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9wn0sZhrzrtnD-9A--q_sohHaAcM3NrgOb2Vcu71eFqcgA>