summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/gtk-doc/gtk-doc-0.9-r2.ebuild')
-rw-r--r--dev-util/gtk-doc/gtk-doc-0.9-r2.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-util/gtk-doc/gtk-doc-0.9-r2.ebuild b/dev-util/gtk-doc/gtk-doc-0.9-r2.ebuild
index a568f2bfbce4..3251ddfc9cfe 100644
--- a/dev-util/gtk-doc/gtk-doc-0.9-r2.ebuild
+++ b/dev-util/gtk-doc/gtk-doc-0.9-r2.ebuild
@@ -1,15 +1,14 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-0.9-r2.ebuild,v 1.15 2003/04/10 01:43:45 satai Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-0.9-r2.ebuild,v 1.16 2003/08/03 02:32:24 vapier Exp $
inherit gnome.org
-S=${WORKDIR}/${P}
DESCRIPTION="GTK+ Documentation Generator"
HOMEPAGE="http://www.gtk.org/"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="x86 ppc sparc alpha"
DEPEND=">=dev-util/pkgconfig-0.12.0
@@ -19,9 +18,14 @@ DEPEND=">=dev-util/pkgconfig-0.12.0
>=app-text/docbook-sgml-1.0
>=dev-lang/perl-5.0.0
!app-text/xhtml1"
-
+
src_compile() {
- econf --enable-debug=yes || die
+ local myconf=""
+ use debug \
+ && myconf="--enable-debug=yes" \
+ || myconf="--enable-debug=no"
+
+ econf ${myconf} || die
emake || die
}