From owner-svn-ports-head@freebsd.org Tue Dec 4 10:48:23 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 082AC132EFD5; Tue, 4 Dec 2018 10:48:23 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A306E72944; Tue, 4 Dec 2018 10:48:22 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6A47024252; Tue, 4 Dec 2018 10:48:22 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB4AmMt0040554; Tue, 4 Dec 2018 10:48:22 GMT (envelope-from egypcio@FreeBSD.org) Received: (from egypcio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB4AmMdN040552; Tue, 4 Dec 2018 10:48:22 GMT (envelope-from egypcio@FreeBSD.org) Message-Id: <201812041048.wB4AmMdN040552@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: egypcio set sender to egypcio@FreeBSD.org using -f From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= Date: Tue, 4 Dec 2018 10:48:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486593 - head/devel/gnu-efi X-SVN-Group: ports-head X-SVN-Commit-Author: egypcio X-SVN-Commit-Paths: head/devel/gnu-efi X-SVN-Commit-Revision: 486593 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A306E72944 X-Spamd-Result: default: False [-0.23 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.48)[-0.475,0]; NEURAL_SPAM_SHORT(0.28)[0.278,0]; NEURAL_HAM_LONG(-0.03)[-0.031,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 04 Dec 2018 10:48:23 -0000 Author: egypcio Date: Tue Dec 4 10:48:21 2018 New Revision: 486593 URL: https://svnweb.freebsd.org/changeset/ports/486593 Log: devel/gnu-efi: introduce new ARCH support (i386) Reviewed by: mat Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D17995 Modified: head/devel/gnu-efi/Makefile head/devel/gnu-efi/pkg-plist Modified: head/devel/gnu-efi/Makefile ============================================================================== --- head/devel/gnu-efi/Makefile Tue Dec 4 10:44:05 2018 (r486592) +++ head/devel/gnu-efi/Makefile Tue Dec 4 10:48:21 2018 (r486593) @@ -3,6 +3,7 @@ PORTNAME= gnu-efi PORTVERSION= 3.0.9 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/gnu-efi @@ -11,9 +12,9 @@ COMMENT= SDK for EFI applications LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS= amd64 i386 -BUILD_DEPENDS+= ${LOCALBASE}/bin/ar:devel/binutils +BUILD_DEPENDS= ${LOCALBASE}/bin/ar:devel/binutils USES= compiler:c++11-lib gmake tar:bz2 @@ -21,7 +22,15 @@ CFLAGS+= -fPIC CPPFLAGS+= -fPIC MAKE_ARGS+= CC=${CC} HOSTCC=${CC} AR=${AR} +.include + +.if ${ARCH} == amd64 +PLIST_SUB= ARCH_amd64="" ARCH_i386="@comment " +.elif ${ARCH} == i386 +PLIST_SUB= ARCH_i386="" ARCH_amd64="@comment " +.endif + post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/crt0-efi-x86_64.o + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.o -.include +.include Modified: head/devel/gnu-efi/pkg-plist ============================================================================== --- head/devel/gnu-efi/pkg-plist Tue Dec 4 10:44:05 2018 (r486592) +++ head/devel/gnu-efi/pkg-plist Tue Dec 4 10:48:21 2018 (r486593) @@ -39,11 +39,19 @@ include/efi/protocol/legacyboot.h include/efi/protocol/piflash64.h include/efi/protocol/vgaclass.h include/efi/romload.h -include/efi/x86_64/efibind.h -include/efi/x86_64/efilibplat.h -include/efi/x86_64/efisetjmp_arch.h -include/efi/x86_64/pe.h -lib/crt0-efi-x86_64.o -lib/elf_x86_64_fbsd_efi.lds lib/libefi.a lib/libgnuefi.a +@comment Architecture Specific Packages List, amd64 +%%ARCH_amd64%%include/efi/x86_64/efibind.h +%%ARCH_amd64%%include/efi/x86_64/efilibplat.h +%%ARCH_amd64%%include/efi/x86_64/efisetjmp_arch.h +%%ARCH_amd64%%include/efi/x86_64/pe.h +%%ARCH_amd64%%lib/crt0-efi-x86_64.o +%%ARCH_amd64%%lib/elf_x86_64_fbsd_efi.lds +@comment Architecture Specific Packages List, i386 +%%ARCH_i386%%include/efi/ia32/efibind.h +%%ARCH_i386%%include/efi/ia32/efilibplat.h +%%ARCH_i386%%include/efi/ia32/efisetjmp_arch.h +%%ARCH_i386%%include/efi/ia32/pe.h +%%ARCH_i386%%lib/crt0-efi-ia32.o +%%ARCH_i386%%lib/elf_ia32_efi.lds