summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-07-23 18:20:56 +0000
committerMamoru Komachi <usata@gentoo.org>2004-07-23 18:20:56 +0000
commitf8f03ee83dd6789796f85ff11cd80ad74d91a101 (patch)
tree0324f1ed81c003472744726453b44b0725ec6d83 /app-text
parentAdded kernel-2.6 fix on sparc (removes old workaround). (Manifest recommit) (diff)
downloadgentoo-2-f8f03ee83dd6789796f85ff11cd80ad74d91a101.tar.gz
gentoo-2-f8f03ee83dd6789796f85ff11cd80ad74d91a101.tar.bz2
gentoo-2-f8f03ee83dd6789796f85ff11cd80ad74d91a101.zip
Added to macos. This closes bug #58076
Diffstat (limited to 'app-text')
-rw-r--r--app-text/htmltidy/ChangeLog5
-rw-r--r--app-text/htmltidy/htmltidy-3.10.29.ebuild19
2 files changed, 17 insertions, 7 deletions
diff --git a/app-text/htmltidy/ChangeLog b/app-text/htmltidy/ChangeLog
index 04e64ae1c03c..9ab052b92132 100644
--- a/app-text/htmltidy/ChangeLog
+++ b/app-text/htmltidy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/htmltidy
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/ChangeLog,v 1.18 2004/06/24 22:40:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/ChangeLog,v 1.19 2004/07/23 18:20:56 usata Exp $
+
+ 24 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> htmltidy-3.10.29.ebuild:
+ Added to macos. This closes bug #58076
28 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> htmltidy-3.10.29.ebuild:
Added WANT_AUTO{MAKE,CONF} to fix configure error, closing bug #42796
diff --git a/app-text/htmltidy/htmltidy-3.10.29.ebuild b/app-text/htmltidy/htmltidy-3.10.29.ebuild
index c12168c5227c..a6476ea8c277 100644
--- a/app-text/htmltidy/htmltidy-3.10.29.ebuild
+++ b/app-text/htmltidy/htmltidy-3.10.29.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/htmltidy-3.10.29.ebuild,v 1.9 2004/06/24 22:40:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/htmltidy-3.10.29.ebuild,v 1.10 2004/07/23 18:20:56 usata Exp $
inherit eutils
@@ -17,9 +17,14 @@ SRC_URI="http://tidy.sourceforge.net/src/old/${MY_P}.tgz
http://tidy.sourceforge.net/docs/tidy_docs.tgz
xml? ( http://www.cise.ufl.edu/~ppadala/tidy/html2db.tar.gz )"
+DEPEND="virtual/libc
+ >=sys-devel/autoconf-2.5
+ >=sys-devel/automake-1.5"
+RDEPEND="virtual/libc"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc sparc alpha ~amd64"
+KEYWORDS="x86 ppc sparc alpha ~amd64 macos"
IUSE="debug doc xml"
src_unpack() {
@@ -31,7 +36,8 @@ src_unpack() {
/bin/sh ./build/gnuauto/setup.sh > /dev/null
# Stop tidy from appending -O2 to our CFLAGS
- sed -i -e "/save_cflags/s/\ \-O2//" configure.in
+ sed -e "/save_cflags/s/\ \-O2//" configure.in > ${T}/configure.in &&
+ mv ${T}/configure.in configure.in || die "sed configure.in failed"
if use xml ; then
# Apply the docbook patch to tidy sources
@@ -42,9 +48,10 @@ src_unpack() {
epatch ${FILESDIR}/03-html2db-null.patch
# Point to the tidy source in the html2db Makefile
- sed -i -e "/TIDYDIR\=/s:\.\.:${S}:" \
+ sed -e "/TIDYDIR\=/s:\.\.:${S}:" \
-e "/LIBDIR\=/s:lib:src\/\.libs\/:" \
- ${WORKDIR}/html2db/Makefile
+ ${WORKDIR}/html2db/Makefile > ${T}/Makefile &&
+ mv ${T}/Makefile ${WORKDIR}/html2db/Makefile || die "sed Makefile failed"
fi
}
@@ -55,7 +62,7 @@ src_compile() {
if use xml ; then
cd ${WORKDIR}/html2db
- make || die
+ emake || die
fi
}