sys-boot/syslinux: fix quoting for toolchain functions
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Thu, 9 Jun 2016 16:11:57 +0000 (18:11 +0200)
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Thu, 9 Jun 2016 16:12:52 +0000 (18:12 +0200)
Bug: https://bugs.gentoo.org/show_bug.cgi?id=585186

Package-Manager: portage-2.2.28

sys-boot/syslinux/syslinux-3.86.ebuild
sys-boot/syslinux/syslinux-4.07.ebuild
sys-boot/syslinux/syslinux-5.10.ebuild
sys-boot/syslinux/syslinux-6.03.ebuild
sys-boot/syslinux/syslinux-6.04_pre1.ebuild

index 79187cc0a5af51ca45a46bf9f08385ae10d736b8..740c4e6fc85b96007860735c25e8cd332c68fba7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -47,7 +47,7 @@ src_unpack() {
 }
 
 src_compile() {
-       emake CC=$(tc-getCC) installer || die
+       emake CC="$(tc-getCC)" installer || die
 }
 
 src_install() {
index 05495b34a98a6ad94c426938d11d2567bf614b84..8bfd278585d425fd074fb3a58d54738f24fc2b5a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -60,7 +60,7 @@ src_unpack() {
 }
 
 src_compile() {
-       emake CC=$(tc-getCC) installer || die
+       emake CC="$(tc-getCC)" installer || die
 }
 
 src_install() {
index 90f43652cfbf420156d71c8b837d2eae72977fc5..00c3a4890c1c380dde20e8b880abde155995a423 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -63,7 +63,7 @@ src_prepare() {
 }
 
 src_compile() {
-       emake CC=$(tc-getCC) installer
+       emake CC="$(tc-getCC)" installer
 }
 
 src_install() {
index fe34dc6eb0862bb894af19bd64eac95d5e8dc724..c4d25db475d7eccfe1aaa082e399321120c13400 100644 (file)
@@ -89,15 +89,15 @@ src_compile() {
        # build system abuses the LDFLAGS variable to pass arguments to ld
        unset LDFLAGS
        if [[ ! -z ${loaderarch} ]]; then
-               emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch}
+               emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch}
        fi
-       emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch} installer
+       emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch} installer
 }
 
 src_install() {
        # parallel install fails sometimes
        einfo "loaderarch=${loaderarch}"
-       emake -j1 LD=$(tc-getLD) INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install
+       emake -j1 LD="$(tc-getLD)" INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install
        dodoc README NEWS doc/*.txt
 }
 
index fe34dc6eb0862bb894af19bd64eac95d5e8dc724..c4d25db475d7eccfe1aaa082e399321120c13400 100644 (file)
@@ -89,15 +89,15 @@ src_compile() {
        # build system abuses the LDFLAGS variable to pass arguments to ld
        unset LDFLAGS
        if [[ ! -z ${loaderarch} ]]; then
-               emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch}
+               emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch}
        fi
-       emake CC=$(tc-getCC) LD=$(tc-getLD) ${loaderarch} installer
+       emake CC="$(tc-getCC)" LD="$(tc-getLD)" ${loaderarch} installer
 }
 
 src_install() {
        # parallel install fails sometimes
        einfo "loaderarch=${loaderarch}"
-       emake -j1 LD=$(tc-getLD) INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install
+       emake -j1 LD="$(tc-getLD)" INSTALLROOT="${D}" MANDIR=/usr/share/man bios ${loaderarch} install
        dodoc README NEWS doc/*.txt
 }