diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-31 04:48:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-31 04:48:02 +0000 |
commit | 4ac7b81401c01c230cc52b30c29b142365877dad (patch) | |
tree | fd29203757e3121bd57c560714a6870f24a3540d /sys-fs/mtools/mtools-3.9.10.ebuild | |
parent | old (diff) | |
download | gentoo-2-4ac7b81401c01c230cc52b30c29b142365877dad.tar.gz gentoo-2-4ac7b81401c01c230cc52b30c29b142365877dad.tar.bz2 gentoo-2-4ac7b81401c01c230cc52b30c29b142365877dad.zip |
Add support for USE=X #164565 by Natanael Copa.
(Portage version: 2.1.2-r5)
Diffstat (limited to 'sys-fs/mtools/mtools-3.9.10.ebuild')
-rw-r--r-- | sys-fs/mtools/mtools-3.9.10.ebuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/sys-fs/mtools/mtools-3.9.10.ebuild b/sys-fs/mtools/mtools-3.9.10.ebuild index 5458f9a8c6d6..e826dd764251 100644 --- a/sys-fs/mtools/mtools-3.9.10.ebuild +++ b/sys-fs/mtools/mtools-3.9.10.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/mtools-3.9.10.ebuild,v 1.8 2006/02/07 21:46:55 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/mtools-3.9.10.ebuild,v 1.9 2007/01/31 04:48:02 vapier Exp $ DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them" HOMEPAGE="http://mtools.linux.lu/" @@ -9,12 +9,19 @@ SRC_URI="http://mtools.linux.lu/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86" -IUSE="" +IUSE="X" -DEPEND="" +DEPEND="X? ( x11-libs/libICE + x11-libs/libXau + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXt )" src_compile() { - econf --sysconfdir=/etc/mtools || die + econf \ + --sysconfdir=/etc/mtools \ + $(use_with X x) \ + || die emake || die "emake failed" } @@ -22,5 +29,5 @@ src_install() { einstall sysconfdir="${D}"/etc/mtools || die insinto /etc/mtools newins mtools.conf mtools.conf.example - dodoc Changelog NEWPARAMS README* Release.notes + dodoc Changelog README* Release.notes } |