diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-01-06 18:02:46 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-01-06 18:02:46 +0000 |
commit | 525e8f0b71acc43e10f8d0e5d79fa7ea0c9fed3e (patch) | |
tree | e3b24427759fe7f68fe4d1bf74fdd7a0b407a2d7 /eclass | |
parent | Marked stable on amd64 (diff) | |
download | historical-525e8f0b71acc43e10f8d0e5d79fa7ea0c9fed3e.tar.gz historical-525e8f0b71acc43e10f8d0e5d79fa7ea0c9fed3e.tar.bz2 historical-525e8f0b71acc43e10f8d0e5d79fa7ea0c9fed3e.zip |
remove lesstif useflag from tetex-3 eclass, use virtual/motif, bug #117057
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/tetex-3.eclass | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/eclass/tetex-3.eclass b/eclass/tetex-3.eclass index 6d72a6988935..0cddc2619fa4 100644 --- a/eclass/tetex-3.eclass +++ b/eclass/tetex-3.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/tetex-3.eclass,v 1.16 2007/10/14 11:55:30 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/tetex-3.eclass,v 1.17 2008/01/06 18:02:46 aballier Exp $ # # Author: Jaromir Malenko <malenko@email.cz> # Author: Mamoru KOMACHI <usata@gentoo.org> @@ -15,10 +15,9 @@ inherit tetex EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_preinst pkg_postinst -IUSE="X Xaw3d lesstif motif neXt" +IUSE="X Xaw3d motif neXt" -DEPEND="X? ( motif? ( lesstif? ( x11-libs/lesstif ) - !lesstif? ( x11-libs/openmotif ) ) +DEPEND="X? ( motif? ( virtual/motif ) !motif? ( neXt? ( x11-libs/neXtaw ) !neXt? ( Xaw3d? ( x11-libs/Xaw3d ) ) ) !app-text/xdvik @@ -123,10 +122,6 @@ tetex-3_src_compile() { if use X ; then if use motif ; then - if use lesstif ; then - append-ldflags -L/usr/X11R6/lib/lesstif -R/usr/X11R6/lib/lesstif - export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/include/lesstif" - fi toolkit="motif" elif use neXt ; then toolkit="neXtaw" |