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 _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"