Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2016 21:09:34 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424145 - head/devel/arm-none-eabi-newlib
Message-ID:  <201610172109.u9HL9YhF027115@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Mon Oct 17 21:09:34 2016
New Revision: 424145
URL: https://svnweb.freebsd.org/changeset/ports/424145

Log:
  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]

Modified:
  head/devel/arm-none-eabi-newlib/Makefile

Modified: head/devel/arm-none-eabi-newlib/Makefile
==============================================================================
--- head/devel/arm-none-eabi-newlib/Makefile	Mon Oct 17 20:14:08 2016	(r424144)
+++ head/devel/arm-none-eabi-newlib/Makefile	Mon Oct 17 21:09:34 2016	(r424145)
@@ -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}-
-
-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
-
-NEWLIB_TARGET=		arm-none-eabi
-
-USES=			gmake makeinfo
-HAS_CONFIGURE=		yes
-CONFIGURE_ARGS=		--prefix=${PREFIX} --target="${NEWLIB_TARGET}" --disable-newlib-supplied-syscalls
+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
+
+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
+
+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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610172109.u9HL9YhF027115>