summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/detex/detex-2.7.ebuild')
-rw-r--r--dev-tex/detex/detex-2.7.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-tex/detex/detex-2.7.ebuild b/dev-tex/detex/detex-2.7.ebuild
index 70f925c8d14b..29d0fb335e3a 100644
--- a/dev-tex/detex/detex-2.7.ebuild
+++ b/dev-tex/detex/detex-2.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.7.ebuild,v 1.12 2005/05/01 18:26:17 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.7.ebuild,v 1.13 2006/01/18 15:57:19 ehmsen Exp $
DESCRIPTION="A filter program that removes the LaTeX (or TeX) control sequences"
HOMEPAGE="http://www.cs.purdue.edu/homes/trinkle/detex/"
@@ -8,10 +8,11 @@ SRC_URI="http://www.cs.purdue.edu/homes/trinkle/detex/${P}.tar"
LICENSE="freedist"
SLOT="0"
-KEYWORDS="x86 ppc ~sparc s390"
+KEYWORDS="~x86 ~ppc ~sparc ~s390"
IUSE=""
-DEPEND="virtual/libc sys-devel/flex"
+DEPEND="virtual/libc
+ sys-devel/flex"
src_unpack() {
unpack ${A}
@@ -20,6 +21,7 @@ src_unpack() {
-e "s:CFLAGS = -O \${DEFS}:CFLAGS = ${CFLAGS} \${DEFS}:" \
-e 's:LEX = lex:#LEX = lex:' \
-e 's:#LEX = flex:LEX = flex:' \
+ -e 's:#DEFS += ${DEFS} -DNO_MALLOC_DECL:DEFS += -DNO_MALLOC_DECL:' \
-e 's: ${CC} ${CFLAGS} -o $@ ${D_OBJ} -ll: ${CC} ${CFLAGS} -o $@ ${D_OBJ} -lfl:' \
Makefile || die "sed failed"
}