diff options
author | bsam <bsam@FreeBSD.org> | 2016-10-18 05:09:34 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2016-10-18 05:09:34 +0800 |
commit | c6e177f346ed2a78c87a2dbf96cf935da0d1c305 (patch) | |
tree | 0aa341dd77b7ea12bdd1562db5837f484df8ee10 /devel | |
parent | 5abc6d725cf859dd3ec94012efa53b85cc220ee6 (diff) | |
download | freebsd-ports-graphics-c6e177f346ed2a78c87a2dbf96cf935da0d1c305.tar.gz freebsd-ports-graphics-c6e177f346ed2a78c87a2dbf96cf935da0d1c305.tar.zst freebsd-ports-graphics-c6e177f346ed2a78c87a2dbf96cf935da0d1c305.zip |
devel/arm-none-eabi-newlib: * Fix excessive indentation [1]
* Be more friendly w.r.t aggressively assigning variables: Conditionally
assign NEWLIB_TARGET, and CONFIGURE_ARGS+= in case we create a slave
port from this needing a different NEWLIB_TARGET.
PR: 213565
Submitted by: Kyle Evans <bsdports@kyle-evans.net> (maintainer)
Reported by: danfe [1]
Diffstat (limited to 'devel')
-rw-r--r-- | devel/arm-none-eabi-newlib/Makefile | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/devel/arm-none-eabi-newlib/Makefile b/devel/arm-none-eabi-newlib/Makefile index c5ac4295348..f012fb6ab50 100644 --- a/devel/arm-none-eabi-newlib/Makefile +++ b/devel/arm-none-eabi-newlib/Makefile @@ -1,25 +1,25 @@ # $FreeBSD$ -PORTNAME= newlib -PORTVERSION= 2.4.0 -CATEGORIES= devel -MASTER_SITES= ftp://sources.redhat.com/pub/${PORTNAME}/ \ - SOURCEWARE/${PORTNAME} -PKGNAMEPREFIX= ${NEWLIB_TARGET}- +PORTNAME= newlib +PORTVERSION= 2.4.0 +CATEGORIES= devel +MASTER_SITES= ftp://sources.redhat.com/pub/${PORTNAME}/ \ + SOURCEWARE/${PORTNAME} +PKGNAMEPREFIX= ${NEWLIB_TARGET}- -MAINTAINER= bsdports@kyle-evans.net -COMMENT= Newlib distribution for ${NEWLIB_TARGET} targets +MAINTAINER= bsdports@kyle-evans.net +COMMENT= Newlib distribution for ${NEWLIB_TARGET} targets -BUILD_DEPENDS+= ${NEWLIB_TARGET}-ar:devel/${NEWLIB_TARGET}-binutils \ - ${NEWLIB_TARGET}-as:devel/${NEWLIB_TARGET}-binutils \ - ${NEWLIB_TARGET}-ld:devel/${NEWLIB_TARGET}-binutils \ - ${LOCALBASE}/bin/${NEWLIB_TARGET}-gcc:devel/${NEWLIB_TARGET}-gcc +BUILD_DEPENDS+= ${NEWLIB_TARGET}-ar:devel/${NEWLIB_TARGET}-binutils \ + ${NEWLIB_TARGET}-as:devel/${NEWLIB_TARGET}-binutils \ + ${NEWLIB_TARGET}-ld:devel/${NEWLIB_TARGET}-binutils \ + ${LOCALBASE}/bin/${NEWLIB_TARGET}-gcc:devel/${NEWLIB_TARGET}-gcc -NEWLIB_TARGET= arm-none-eabi +NEWLIB_TARGET?= arm-none-eabi -USES= gmake makeinfo -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} --target="${NEWLIB_TARGET}" --disable-newlib-supplied-syscalls +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: |