From a6bc7d2241d486169d81aa021fa9e84ece5cfdd0 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Mon, 28 May 2018 17:16:12 +0000 Subject: [PATCH] parted: drop LDFLAGS, pass CPPFLAGS to runConfigure. Thanks @alaviss --- sys-block/parted/parted-3.2.recipe | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys-block/parted/parted-3.2.recipe b/sys-block/parted/parted-3.2.recipe index 73b04d5d0..4db70b37b 100644 --- a/sys-block/parted/parted-3.2.recipe +++ b/sys-block/parted/parted-3.2.recipe @@ -5,7 +5,7 @@ data on hard disks and disk imaging." HOMEPAGE="https://www.gnu.org/software/parted/" COPYRIGHT="1999-2014 Free Software Foundation Inc." LICENSE="GNU GPL v3" -REVISION="4" +REVISION="5" SOURCE_URI="https://ftpmirror.gnu.org/parted/parted-$portVersion.tar.xz https://ftp.gnu.org/gnu/parted/parted-$portVersion.tar.xz" CHECKSUM_SHA256="858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4" @@ -102,13 +102,11 @@ defineDebugInfoPackage parted$secondaryArchSuffix \ BUILD() { autoreconf + CPPFLAGS="-Wimplicit-fallthrough=0" \ MAKEINFO=true \ runConfigure --omit-dirs sbinDir ./configure --sbindir=$commandBinDir \ --disable-device-mapper - make $jobArgs \ - CPPFLAGS="-Wimplicit-fallthrough=0" \ - LDFLAGS="-lblkid -luuid -lintl" \ - + make $jobArgs } INSTALL()