Require dev-perl/XML-Parser only if doc USE flag is set; bug #69452.
authorMamoru Komachi <usata@gentoo.org>
Sun, 7 Nov 2004 06:15:06 +0000 (06:15 +0000)
committerMamoru Komachi <usata@gentoo.org>
Sun, 7 Nov 2004 06:15:06 +0000 (06:15 +0000)
app-text/sablotron/ChangeLog
app-text/sablotron/Manifest
app-text/sablotron/sablotron-0.97.ebuild
app-text/sablotron/sablotron-1.0.1.ebuild
app-text/sablotron/sablotron-1.0.ebuild

index 0b6fd0c171db30b1b480d7feae8a3a77b0d20fc0..31fe1b1babc8d75ed3f9dfe7c79a91125362ee93 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for app-text/sablotron
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/ChangeLog,v 1.34 2004/10/11 16:37:37 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/ChangeLog,v 1.35 2004/11/07 06:15:06 usata Exp $
+
+  07 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> sablotron-0.97.ebuild,
+  sablotron-1.0.1.ebuild, sablotron-1.0.ebuild:
+  Require dev-perl/XML-Parser only if doc USE flag is set; bug #69452.
 
   11 Oct 2004; Guy Martin <gmsoft@gentoo.org> sablotron-1.0.ebuild:
   Marked stable on hppa.
index d5c37f78f06ee3b67c9c4d98020d7144bff2efe3..2b1f5f102bebe0e90e752a4403554b224c44c93d 100644 (file)
@@ -1,8 +1,8 @@
-MD5 afc50a0e46d9229cad5f1557abeb7b78 ChangeLog 5050
+MD5 f664d0166787eac6c47922fbc94aaa60 ChangeLog 5241
 MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
-MD5 f4302bed92055a02b127c99e2cf4dc5d sablotron-0.97.ebuild 962
-MD5 83a6510c48478fd38725983ac2fcf9e5 sablotron-1.0.1.ebuild 1516
-MD5 3f4bdee1bf0d64037b9301f84b0aeea1 sablotron-1.0.ebuild 1433
+MD5 d311e74bf8893606899a6f98999c613d sablotron-0.97.ebuild 1008
+MD5 874b28f2ff15073700aabd7ee970fa8f sablotron-1.0.ebuild 1473
+MD5 e740d0873c8c5fbbbb3ad9a7825a5489 sablotron-1.0.1.ebuild 1542
 MD5 d4d88eebd05b4208b430c3e2738431a4 files/Sablot-0.96.1.patch 1698
 MD5 47394bfd045510f7f6b74c7828d48502 files/digest-sablotron-0.97 63
 MD5 42df851a9f037fa853698dbdb7c2b449 files/digest-sablotron-1.0 62
index ec4354d1f47eba477678a92a26d4f9dbfef57f1f..af410a4a4efffc6cc0f4ad40736e0c52a638df26 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-0.97.ebuild,v 1.19 2004/07/13 23:40:49 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-0.97.ebuild,v 1.20 2004/11/07 06:15:06 usata Exp $
 
-inherit libtool
+inherit libtool flag-o-matic
 
 S="${WORKDIR}/Sablot-${PV}"
 DESCRIPTION="An XSLT Parser in C++"
@@ -14,8 +14,9 @@ SLOT="0"
 IUSE="perl"
 KEYWORDS="x86 sparc ppc hppa alpha amd64 ~mips"
 
-DEPEND=">=dev-libs/expat-1.95.6-r1
-       dev-perl/XML-Parser"
+RDEPEND=">=dev-libs/expat-1.95.6-r1"
+DEPEND="${RDEPEND}
+       perl? ( dev-perl/XML-Parser )"
 
 src_compile() {
        local myconf=
@@ -28,14 +29,14 @@ src_compile() {
 
        # rphillips
        # fixes bug #3876
-       export LDFLAGS="-lstdc++"
+       append-ldflags -lstdc++
 
        econf ${myconf} || die "econf failed"
        make || die
 }
 
 src_install() {
-       einstall
+       einstall || die
        dodoc README* RELEASE
        dodoc src/TODO
 }
index 55d09b0d82c059e3ff0e99ff6d5d8e520887b213..22a57a372b12a2410eebeae1b382d6f698161c05 100644 (file)
@@ -1,15 +1,15 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-1.0.1.ebuild,v 1.7 2004/08/02 02:50:04 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-1.0.1.ebuild,v 1.8 2004/11/07 06:15:06 usata Exp $
 
-inherit libtool gnuconfig
+inherit libtool gnuconfig flag-o-matic
 
 MY_PN="Sablot"
 MY_P="${MY_PN}-${PV}"
 S=${WORKDIR}/${MY_P}
 
 DESCRIPTION="An XSLT Parser in C++"
-HOMEPAGE="http://www.gingerall.com/charlie-bin/get/webGA/act/sablotron.act"
+HOMEPAGE="http://www.gingerall.com/charlie/ga/xml/p_sub.xml"
 SRC_URI="http://download-1.gingerall.cz/download/sablot/${MY_P}.tar.gz"
 
 # Sablotron can optionally be built under GPL, using MPL for now
@@ -18,8 +18,9 @@ SLOT="0"
 KEYWORDS="~x86 ~sparc ~ppc ~mips ~alpha arm ~hppa ~amd64 ~ia64 s390 ppc64"
 IUSE="doc perl"
 
-DEPEND=">=dev-libs/expat-1.95.6-r1
-       >=dev-perl/XML-Parser-2.3"
+RDEPEND=">=dev-libs/expat-1.95.6-r1"
+DEPEND="${RDEPEND}
+       doc? ( >=dev-perl/XML-Parser-2.3 )"
 
 DOCS="INSTALL README README_JS RELEASE src/TODO"
 
@@ -44,7 +45,7 @@ src_compile() {
        # this is fixed for me with apache2, but keeping it in here
        # for apache1 users and/or until some clever detection
        # is added <obz@gentoo.org>
-       export LDFLAGS="-lstdc++"
+       append-ldflags -lstdc++
 
        econf ${myconf} || die "Configure failed"
        emake || die "Make failed"
index b39c864faa68459c26506dc2b1731902e251e8c6..374519fc830a7b8575d3d35b37632da20216b11b 100644 (file)
@@ -1,16 +1,16 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-1.0.ebuild,v 1.11 2004/10/11 16:37:37 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-1.0.ebuild,v 1.12 2004/11/07 06:15:06 usata Exp $
 
-inherit libtool
+inherit libtool flag-o-matic
 
 MY_PN="Sablot"
 MY_P="${MY_PN}-${PV}"
 S=${WORKDIR}/${MY_P}
 
 DESCRIPTION="An XSLT Parser in C++"
-SRC_URI="http://download-1.gingerall.cz/download/sablot/${MY_P}.tar.gz"
 HOMEPAGE="http://www.gingerall.com/charlie/ga/xml/p_sab.xml"
+SRC_URI="http://download-1.gingerall.cz/download/sablot/${MY_P}.tar.gz"
 # Sablotron can optionally be built under GPL, using MPL for now
 LICENSE="MPL-1.1"
 
@@ -18,8 +18,9 @@ SLOT="0"
 IUSE="doc perl"
 KEYWORDS="x86 sparc ~ppc hppa alpha amd64 ia64"
 
-DEPEND=">=dev-libs/expat-1.95.6-r1
-       >=dev-perl/XML-Parser-2.3"
+RDEPEND=">=dev-libs/expat-1.95.6-r1"
+DEPEND="${RDEPEND}
+       doc? ( >=dev-perl/XML-Parser-2.3 )"
 
 DOCS="INSTALL README README_JS RELEASE src/TODO"
 
@@ -42,7 +43,7 @@ src_compile() {
        # this is fixed for me with apache2, but keeping it in here
        # for apache1 users and/or until some clever detection
        # is added <obz@gentoo.org>
-       export LDFLAGS="-lstdc++"
+       append-ldflags -lstdc++
 
        econf ${myconf} || die "Configure failed"
        emake || die "Make failed"