From owner-svn-ports-head@FreeBSD.ORG Thu Jan 15 10:02:03 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6B4477; Thu, 15 Jan 2015 10:02:03 +0000 (UTC) Received: from fep28.mx.upcmail.net (fep28.mx.upcmail.net [62.179.121.48]) by mx1.freebsd.org (Postfix) with ESMTP id 6659E926; Thu, 15 Jan 2015 10:02:01 +0000 (UTC) Received: from edge03.upcmail.net ([192.168.13.238]) by viefep13-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20150115100125.HSXR12567.viefep13-int.chello.at@edge03.upcmail.net>; Thu, 15 Jan 2015 11:01:25 +0100 Received: from [192.168.0.23] ([178.84.134.112]) by edge03.upcmail.net with edge id gA1L1p0A62Rg3Ey01A1L6v; Thu, 15 Jan 2015 11:01:21 +0100 X-SourceIP: 178.84.134.112 Message-ID: <54B78FEE.4020705@rainbow-runner.nl> Date: Thu, 15 Jan 2015 11:01:18 +0100 From: Koop Mast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Edward Tomasz Napierala , 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 References: <201501150955.t0F9tvlO075446@svn.freebsd.org> In-Reply-To: <201501150955.t0F9tvlO075446@svn.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2015 10:02:03 -0000 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 > > 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 > +# $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 > > 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