summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-08-10 16:31:04 +0000
committerJeroen Roovers <jer@gentoo.org>2009-08-10 16:31:04 +0000
commit2b5aecc056606d296dfc005a42df77cec6b82524 (patch)
tree493fab8f638f31fa1aa750677058b851a0b6ec49 /dev-lang/tcl
parentmask quirc wrt bug #249468 (diff)
downloadgentoo-2-2b5aecc056606d296dfc005a42df77cec6b82524.tar.gz
gentoo-2-2b5aecc056606d296dfc005a42df77cec6b82524.tar.bz2
gentoo-2-2b5aecc056606d296dfc005a42df77cec6b82524.zip
Move conditional append-cflags out of global scope.
(Portage version: 2.2_rc37/cvs/Linux i686)
Diffstat (limited to 'dev-lang/tcl')
-rw-r--r--dev-lang/tcl/ChangeLog5
-rw-r--r--dev-lang/tcl/tcl-8.5.7.ebuild12
2 files changed, 10 insertions, 7 deletions
diff --git a/dev-lang/tcl/ChangeLog b/dev-lang/tcl/ChangeLog
index ad2199b3adef..66f337c9573c 100644
--- a/dev-lang/tcl/ChangeLog
+++ b/dev-lang/tcl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/tcl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.106 2009/08/10 15:53:53 mescalinum Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.107 2009/08/10 16:31:04 jer Exp $
+
+ 10 Aug 2009; Jeroen Roovers <jer@gentoo.org> tcl-8.5.7.ebuild:
+ Move conditional append-cflags out of global scope.
10 Aug 2009; Federico Ferri <mescalinum@gentoo.org> tcl-8.5.7.ebuild:
fix bug #280934 - tcl stack check issue on hppa
diff --git a/dev-lang/tcl/tcl-8.5.7.ebuild b/dev-lang/tcl/tcl-8.5.7.ebuild
index 41efb9bb9500..c5f8420504d4 100644
--- a/dev-lang/tcl/tcl-8.5.7.ebuild
+++ b/dev-lang/tcl/tcl-8.5.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.7.ebuild,v 1.2 2009/08/10 15:53:53 mescalinum Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.7.ebuild,v 1.3 2009/08/10 16:31:04 jer Exp $
WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest
@@ -21,11 +21,6 @@ DEPEND=""
S="${WORKDIR}/${MY_P}"
-if use hppa; then
- # workaround stack check issues, bug #280934
- append-cflags -DTCL_NO_STACK_CHECK=1
-fi
-
pkg_setup() {
if use threads ; then
ewarn ""
@@ -52,6 +47,11 @@ src_unpack() {
}
src_compile() {
+ # workaround stack check issues, bug #280934
+ if use hppa; then
+ append-cflags "-DTCL_NO_STACK_CHECK=1"
+ fi
+
tc-export CC
cd "${S}"/unix