x11-plugins/wmpop3: respect CC, bug #605910

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Bernard Cafarelli
2017-01-16 16:56:50 +01:00
parent 4641f59517
commit 626b1b4143

View File

@@ -1,8 +1,9 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils toolchain-funcs
DESCRIPTION="dockapp for checking pop3 accounts"
HOMEPAGE="http://www.cs.mun.ca/~scotth/"
@@ -20,7 +21,8 @@ RDEPEND="${DEPEND}"
PATCHES=( ${FILESDIR}/${P}-list.patch )
src_prepare() {
sed -e "s:-O2:${CFLAGS}:" \
sed -e "s:cc :$(tc-getCC) :" \
-e "s:-O2:${CFLAGS}:" \
-e "s:-o wmpop3:${LDFLAGS} -o wmpop3:" \
-i ${PN}/Makefile || die