Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2015 11:01:18 +0100
From:      Koop Mast <kwm@rainbow-runner.nl>
To:        Edward Tomasz Napierala <trasz@FreeBSD.org>,  ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r377068 - in head/devel: . gnu-efi gnu-efi/files
Message-ID:  <54B78FEE.4020705@rainbow-runner.nl>
In-Reply-To: <201501150955.t0F9tvlO075446@svn.freebsd.org>
References:  <201501150955.t0F9tvlO075446@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 15-1-2015 10:55, Edward Tomasz Napierala wrote:
> Author: trasz
> Date: Thu Jan 15 09:55:56 2015
> New Revision: 377068
> URL: https://svnweb.freebsd.org/changeset/ports/377068
> QAT: https://qat.redports.org/buildarchive/r377068/
>
> Log:
>    New port: devel/gnu-efi
>    
>    SDK for developing EFI applications for ARM-64, ARM-32, x86_64,
>    IA-64 (IPF), and IA-32 (x86) platforms using the GNU toolchain
>    and the EFI development environment.
>    
>    Sponsored by:	The FreeBSD Foundation
>
<snip>
> Added: head/devel/gnu-efi/Makefile
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/devel/gnu-efi/Makefile	Thu Jan 15 09:55:56 2015	(r377068)
> @@ -0,0 +1,24 @@
> +# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
> +# $FreeBSD$
> +
> +PORTNAME=	gnu-efi
> +PORTVERSION=	3.0w
> +CATEGORIES=	devel
> +MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
> +MASTER_SITE_SUBDIR=	gnu-efi
> +DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
> +
> +MAINTAINER=	trasz@FreeBSD.org
> +COMMENT=	SDK for EFI applications
> +
> +LICENSE=	GPLv2
> +
> +WRKSRC=		${WRKDIR}/${PORTNAME}-3.0
> +
> +USES=		gmake
> +USE_GCC=	4.8+
> +MAKE_JOBS_UNSAFE=	yes
> +CFLAGS+=	"-fPIC"
> +ONLY_FOR_ARCHS=	amd64
> +
> +.include <bsd.port.mk>
<snip>
>
> Added: head/devel/gnu-efi/files/patch-Make.defaults
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/devel/gnu-efi/files/patch-Make.defaults	Thu Jan 15 09:55:56 2015	(r377068)
> @@ -0,0 +1,43 @@
> +--- Make.defaults.orig	2014-08-08 21:27:21.000000000 +0200
> ++++ Make.defaults	2014-12-01 02:18:02.000000000 +0100
> +@@ -45,14 +45,17 @@ TOPDIR := $(shell if [ "$$PWD" != "" ];
> + # Where to install the package. GNU-EFI will create and access
> + # lib and include under the root
> + #
> +-INSTALLROOT  := /
> ++INSTALLROOT  := $(DESTDIR)
> + PREFIX       := /usr/local
> + LIBDIR 	     := $(PREFIX)/lib
> + INSTALL	     := install
> +
> ++LOCALBASE    := /usr/local
> ++CROSS_COMPILE:= $(LOCALBASE)/bin/
> ++
> + # Compilation tools
> +-HOSTCC       := $(prefix)gcc
> +-CC           := $(prefix)$(CROSS_COMPILE)gcc
> ++HOSTCC       := $(prefix)gcc48
> ++CC           := $(prefix)$(CROSS_COMPILE)gcc48
> + AS           := $(prefix)$(CROSS_COMPILE)as
> + LD           := $(prefix)$(CROSS_COMPILE)ld
> + AR           := $(prefix)$(CROSS_COMPILE)ar
>
This doesn't look right. In the Makefile your set USE_GCC=4.8+, so gcc 
4.9 could be used. So these lines need to be adapted to that into account.

-Koop



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