Date: Thu, 30 Nov 2017 07:27:06 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455175 - head/lang/ocaml Message-ID: <201711300727.vAU7R6jA059573@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Thu Nov 30 07:27:06 2017 New Revision: 455175 URL: https://svnweb.freebsd.org/changeset/ports/455175 Log: Attempt to build on armv7 by generalizing from armv6 code. Unfortanately it didn't build for me on armv7: perhaps it is a difference in compiler. (It currently builds on armv6 on the freebsd.org cluster.) So, this is a necessary but insufficient step. Approved by: portmgr (tier-2 blanket) Modified: head/lang/ocaml/Makefile Modified: head/lang/ocaml/Makefile ============================================================================== --- head/lang/ocaml/Makefile Thu Nov 30 07:08:54 2017 (r455174) +++ head/lang/ocaml/Makefile Thu Nov 30 07:27:06 2017 (r455175) @@ -19,6 +19,7 @@ LICENSE_FILE_QPL10= ${WRKSRC}/LICENSE LICENSE_PERMS_QPL10= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= Does not build: No rule to make target aarch64.o, needed by libasmrun.a +BROKEN_armv7= Does not build: hasgot.c: undefined reference to `tgetent' BROKEN_powerpc64= Does not build: error: too few arguments to function gethostbyname_r BROKEN_sparc64= ocamlc.opt seg-faults, please try to fix BROKEN_mips64= No ASM support @@ -68,7 +69,7 @@ PORTDOCS= htmlman ${DOCSDISTNAME}-refman.ps.gz ${DOCSD PLIST_SUB+= DOC="@comment " .endif -.if ${ARCH} == armv6 +.if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ARGS+= -as "${AS} ${ASFLAGS} -meabi=5" .else CONFIGURE_ARGS+= -as "${AS} ${ASFLAGS}" @@ -98,7 +99,7 @@ CONFIGURE_ARGS+=-no-graph .include <bsd.port.pre.mk> .include "${FILESDIR}/manfiles" -OCAML_ARCH= ${ARCH:S/x86_64/amd64/:S/powerpc/power/:S/armv6/arm/} +OCAML_ARCH= ${ARCH:S/x86_64/amd64/:S/powerpc/power/:C/armv.*/arm/} .if defined(NO_PROFILE) || ${OCAML_ARCH:Mpower} || ${OCAML_ARCH:Mamd64}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711300727.vAU7R6jA059573>