From 70859ec5eb77f5c3a33dc4a2dac22c9df14bc74f Mon Sep 17 00:00:00 2001 From: Chí-Thanh Christopher Nguyễn Date: Tue, 16 Apr 2013 13:27:50 +0000 Subject: Guard against TARGET variable, bug #465722. (Portage version: 2.1.11.55/cvs/Linux x86_64, unsigned Manifest commit) --- net-libs/ptlib/ChangeLog | 6 +++++- net-libs/ptlib/ptlib-2.10.10.ebuild | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/net-libs/ptlib/ChangeLog b/net-libs/ptlib/ChangeLog index 6bf9137f5fb6..e41e78790c01 100644 --- a/net-libs/ptlib/ChangeLog +++ b/net-libs/ptlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/ptlib # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.46 2013/04/05 18:11:45 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.47 2013/04/16 13:27:50 chithanh Exp $ + + 16 Apr 2013; Chí-Thanh Christopher Nguyễn + ptlib-2.10.10.ebuild: + Guard against TARGET variable, bug #465722. 05 Apr 2013; Agostino Sarubbo ptlib-2.10.10.ebuild: Stable for ppc64, wrt bug #461842 diff --git a/net-libs/ptlib/ptlib-2.10.10.ebuild b/net-libs/ptlib/ptlib-2.10.10.ebuild index 725b89413c66..02b9926322b1 100644 --- a/net-libs/ptlib/ptlib-2.10.10.ebuild +++ b/net-libs/ptlib/ptlib-2.10.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.10.10.ebuild,v 1.7 2013/04/05 18:11:45 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.10.10.ebuild,v 1.8 2013/04/16 13:27:50 chithanh Exp $ EAPI="5" @@ -72,6 +72,11 @@ src_prepare() { rm -f samples/*/*.dsp rm -f samples/*/*.dsw fi + + if [[ ! -z ${TARGET+set} ]]; then + ewarn "TARGET variable is set. Removing as it would break the build, bug #465722." + unset TARGET + fi } src_configure() { -- cgit v1.2.3-65-gdbad