diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-02-21 12:20:06 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-02-21 12:20:06 +0000 |
commit | fc32e8879c92b066e8b30501608a6d798072f2e0 (patch) | |
tree | a5f42722568cfce5bac71bae95245cbc7a570a3f /eclass/tetex.eclass | |
parent | Removed inherit eutils and flag-o-matic since epatch and filter-flags are now... (diff) | |
download | historical-fc32e8879c92b066e8b30501608a6d798072f2e0.tar.gz historical-fc32e8879c92b066e8b30501608a6d798072f2e0.tar.bz2 historical-fc32e8879c92b066e8b30501608a6d798072f2e0.zip |
Removed eutils and flag-o-matic from inherit list since epatch and
filter-flags are now part of portage. Also moved filter-flags to
src_compile() to stop "has_version() in global scope" warning.
Diffstat (limited to 'eclass/tetex.eclass')
-rw-r--r-- | eclass/tetex.eclass | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/tetex.eclass b/eclass/tetex.eclass index 439d3aeb1b99..1c6155f27649 100644 --- a/eclass/tetex.eclass +++ b/eclass/tetex.eclass @@ -1,14 +1,13 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.5 2004/01/02 02:56:09 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.6 2004/02/21 12:20:06 usata Exp $ # # Author: Jaromir Malenko <malenko@email.cz> # Author: Mamoru KOMACHI <usata@gentoo.org> # # A generic eclass to install tetex distributions. -inherit eutils flag-o-matic alternatives -filter-flags "-fstack-protector" +inherit alternatives ECLASS=tetex INHERITED="${INHERITED} ${ECLASS}" EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst @@ -95,6 +94,8 @@ tetex_src_unpack() { tetex_src_compile() { + filter-flags "-fstack-protector" + local xdvik if [ "${P%%-*}" = "ptex" ] ; then |