summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xmlroff/xmlroff-0.6.1.ebuild')
-rw-r--r--app-text/xmlroff/xmlroff-0.6.1.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/app-text/xmlroff/xmlroff-0.6.1.ebuild b/app-text/xmlroff/xmlroff-0.6.1.ebuild
index d8bb74c04..81c1db4cd 100644
--- a/app-text/xmlroff/xmlroff-0.6.1.ebuild
+++ b/app-text/xmlroff/xmlroff-0.6.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="1"
+EAPI="2"
DESCRIPTION="A fast, free, high-quality, multi-platform XSL formatter"
HOMEPAGE="http://xmlroff.org/"
@@ -20,20 +20,18 @@ RDEPEND="x11-libs/gtk+
dev-libs/glib:2
dev-libs/libxml2
dev-libs/libxslt
- cairo? ( x11-libs/cairo )
+ cairo? ( x11-libs/cairo[svg?] )
!cairo? ( gnome-base/libgnomeprint )
svg? ( gnome-base/librsvg )
truetype? ( media-libs/freetype )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-src_compile() {
+src_configure() {
econf \
$(use_enable cairo) \
$(use_enable !cairo gp) \
$(use_enable debug libfo-debug)
-
- emake || die "emake failed"
}
src_install() {