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 /net-libs/ptlib/ptlib-2.10.10.ebuild
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)
Diffstat (limited to 'net-libs/ptlib/ptlib-2.10.10.ebuild')
-rw-r--r--net-libs/ptlib/ptlib-2.10.10.ebuild7
1 files changed, 6 insertions, 1 deletions
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() {