From 9623b4fce90486977efb1ccd2b93a9e3b894ac1a Mon Sep 17 00:00:00 2001 From: Joseph Jezak Date: Thu, 16 Sep 2010 02:42:52 +0000 Subject: Honor user's LDFLAGs for bug #337521. Marked 1.20 ppc/ppc64 stable. (Portage version: 2.1.8.3/cvs/Linux x86_64) --- dev-embedded/pk2cmd/pk2cmd-1.20.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'dev-embedded/pk2cmd/pk2cmd-1.20.ebuild') diff --git a/dev-embedded/pk2cmd/pk2cmd-1.20.ebuild b/dev-embedded/pk2cmd/pk2cmd-1.20.ebuild index 9cbc96e62609..9d43478f4f36 100644 --- a/dev-embedded/pk2cmd/pk2cmd-1.20.ebuild +++ b/dev-embedded/pk2cmd/pk2cmd-1.20.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.20.ebuild,v 1.1 2009/02/02 20:45:09 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.20.ebuild,v 1.2 2010/09/16 02:42:52 josejx Exp $ inherit eutils toolchain-funcs @@ -10,7 +10,7 @@ SRC_URI="http://ww1.microchip.com/downloads/en/DeviceDoc/${PN}v${PV}LinuxMacSour LICENSE="MicroChip-PK2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ppc ppc64 ~x86" IUSE="" DEPEND="dev-libs/libusb" @@ -29,6 +29,7 @@ src_unpack() { sed -i 's:#TARGET=linux:TARGET=linux:' Makefile sed -i 's:DBG=-O2:DBG=:' Makefile sed -i 's:^CFLAGS=:CFLAGS+=:' Makefile + sed -i 's:^LDFLAGS=:LDFLAGS+=:' Makefile sed -i 's:^LIBUSB=/usr/local:LIBUSB=/usr:' Makefile sed -i "s:^CC=g++::" Makefile } -- cgit v1.2.3-65-gdbad