# $FreeBSD: head/devel/arm-none-eabi-newlib/Makefile 551458 2020-10-04 20:49:35Z kevans $ PORTNAME= newlib PORTVERSION= 2.4.0 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://sources.redhat.com/pub/${PORTNAME}/ \ SOURCEWARE/${PORTNAME} PKGNAMEPREFIX= ${NEWLIB_TARGET}- MAINTAINER= kevans@FreeBSD.org COMMENT= Newlib distribution for ${NEWLIB_TARGET} targets BUILD_DEPENDS+= ${NEWLIB_TARGET}-ar:devel/binutils@${NEWLIB_TARGET:C/-/_/g} \ ${NEWLIB_TARGET}-as:devel/binutils@${NEWLIB_TARGET:C/-/_/g} \ ${NEWLIB_TARGET}-ld:devel/binutils@${NEWLIB_TARGET:C/-/_/g} \ ${LOCALBASE}/bin/${NEWLIB_TARGET}-gcc:devel/${NEWLIB_TARGET}-gcc NEWLIB_TARGET?= arm-none-eabi USES= gmake makeinfo HAS_CONFIGURE= yes CONFIGURE_ARGS+= --prefix=${PREFIX} --target="${NEWLIB_TARGET}" --disable-newlib-supplied-syscalls # Disable installation of .info files and fix includedir reference. post-patch: @${REINPLACE_CMD} -E 's/^(install.*:.*)install-info(.*)/\1\2/' ${WRKSRC}/etc/Makefile.in .include