summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-04-16 13:27:50 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-04-16 13:27:50 +0000
commit70859ec5eb77f5c3a33dc4a2dac22c9df14bc74f (patch)
tree6600a83be85df5385ddfb891ea1770df2bc7fd6c
parentfix openssl dep #465966 (diff)
downloadgentoo-2-70859ec5eb77f5c3a33dc4a2dac22c9df14bc74f.tar.gz
gentoo-2-70859ec5eb77f5c3a33dc4a2dac22c9df14bc74f.tar.bz2
gentoo-2-70859ec5eb77f5c3a33dc4a2dac22c9df14bc74f.zip
Guard against TARGET variable, bug #465722.
(Portage version: 2.1.11.55/cvs/Linux x86_64, unsigned Manifest commit)
-rw-r--r--net-libs/ptlib/ChangeLog6
-rw-r--r--net-libs/ptlib/ptlib-2.10.10.ebuild7
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 <chithanh@gentoo.org>
+ ptlib-2.10.10.ebuild:
+ Guard against TARGET variable, bug #465722.
05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> 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() {