Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2013 13:34:58 -0700
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        Jason Helfman <jgh@FreeBSD.org>
Cc:        "svn-ports-head@freebsd.org" <svn-ports-head@FreeBSD.org>, "svn-ports-all@freebsd.org" <svn-ports-all@FreeBSD.org>, "ports-committers@freebsd.org" <ports-committers@FreeBSD.org>
Subject:   Re: svn commit: r323836 - in head/devel: . arm-eabi-binutils arm-eabi-binutils/files
Message-ID:  <E3C420D7-E282-480E-8852-9C4A16901ED9@FreeBSD.org>
In-Reply-To: <CAMuy=%2BhFpUQRRkOgi0KEktqpFyNyX=6OTyP5rmSEsGqWo4A85w@mail.gmail.com>
References:  <201307281645.r6SGjNAs020031@svn.freebsd.org> <CAMuy=%2BhFpUQRRkOgi0KEktqpFyNyX=6OTyP5rmSEsGqWo4A85w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the pointers.  I'll try to make these changes.

BTW, I note that

  USES=3Dgmake

is not currently documented at

=
http://www.freebsd.org/doc/en/books/porters-handbook/appendices.html#idp80=
009136



On Jul 28, 2013, at 12:09 PM, Jason Helfman wrote:

> On Sun, Jul 28, 2013 at 9:45 AM, Tim Kientzle <kientzle@freebsd.org> =
wrote:
> Author: kientzle (src committer)
> Date: Sun Jul 28 16:45:22 2013
> New Revision: 323836
> URL: http://svnweb.freebsd.org/changeset/ports/323836
>=20
> Log:
>   Add arm-eabi-binutils cross-tools.
>=20
>   Approved by:  db
>=20
> Added: head/devel/arm-eabi-binutils/Makefile
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/devel/arm-eabi-binutils/Makefile       Sun Jul 28 16:45:22 =
2013        (r323836)
> @@ -0,0 +1,47 @@
> +# $FreeBSD$
> +
> +PORTNAME=3D      binutils
> +PORTVERSION=3D   2.23.2
> +CATEGORIES=3D    devel
> +MASTER_SITES=3D  ${MASTER_SITE_SOURCEWARE}
> +MASTER_SITE_SUBDIR=3D    binutils/releases
> +PKGNAMEPREFIX=3D arm-eabi-
> +
> +MAINTAINER=3D    kientzle@gmail.com
> +COMMENT=3D       GNU binutils for vanilla ARM cross-development
> +
> +.if !defined(WITHOUT_NLS)
> +USE_GETTEXT=3D   yes
> +PLIST_SUB+=3D    NLS=3D""
> +.else
> +CONFIGURE_ARGS+=3D       --disable-nls
> +PLIST_SUB+=3D    NLS=3D"@comment "
> +.endif
> +USE_BZIP2=3D     yes
> +USE_GMAKE=3D     yes
> +USES=3D          gettext
> +GNU_CONFIGURE=3D yes
>=20
>=20
> Is there any particular reason that bsd.port.options.mk wasn't =
included here?
>=20
> USE_GETTEXT is deprecated, and should be using the USES framework to =
bring in the dependency. The only reason this dependency is working is =
that it is unconditionally brought in with the USES framework later in =
the Makefile.
>=20
> To this affect, if NLS is disabled, it brings in gettext dependency. =
Can it be disabled?
>=20
> USE_GMAKE can be converted, as well, to the USES framework. (USES=3D =
gmake)
>=20
> .include <bsd.port.options.mk>
>=20
> .if ${PORT_OPTIONS:MNLS}
> USES+=3D gettext
> ...
> .endif=20
>=20
> Regardless, as always, thank you so much for your time and effort to =
work and get this inclusion into the tree, as I am sure many will =
benefit from it.
>=20
> -jgh
>=20
> --=20
> Jason Helfman          | FreeBSD Committer
> jgh@FreeBSD.org     | http://people.freebsd.org/~jgh  | The Power to =
Serv




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E3C420D7-E282-480E-8852-9C4A16901ED9>