[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] Help! @#$%!& aspell
From:       "Tod M. Neidt" <tod () gentoo ! org>
Date:       2002-01-30 17:55:20
[Download RAW message or body]

Hi!

aspell (the "Something Wicked This Way Comes" version )is giving me
fits.  Rather than shoot myself in the head, I will swallow my pride and
bare my ass to the world by <gasp> asking for help. Maybe the solution
is painfully (to me) obvious to someone else.

Everything goes smoothly merging with the ebuild, until the build enters
the data subdir where it promptly bombs with a "cat broken pipe" error.
A .manual /configure, make sequence also bombs, but with a error 134.

The ebuild is fairly straight forward, just patching the tarball with
the lastest upstream patch, and enabling a doc-dir configure flag.  I'll
attach my working (or more appropriately non-working) ebuild.  

Below is a snippet from the offending data/Makefile.  There are multiple
section in the ebuild just like this one.

Very humbly,

tod


******snip aspell-.33.7.1/data/Makefile ******************
english-med-only:
	cd ../; bd=`pwd`; cd scowl/final; \
	cat english-*.10 english-*.20 english-*.35 english-*.50 \
            english-*.60 english-*.65 \
	    special-*.35 special-*.50 \
	| $$bd/src/aspell --lang=english \
	  create master $$bd/data/english-med-only

********end snip************************************************


["aspell-0.33.7.1-r1.ebuild" (aspell-0.33.7.1-r1.ebuild)]

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/app-text/aspell/aspell-0.33.ebuild,v 1.2 \
2001/05/28 14:32:32 achim Exp

#Remove leading zero from version
MYPV=${PV#0}
MYP=${PN}-${MYPV}

S=${WORKDIR}/${MYP}

DESCRIPTION="A spell checker replacement for ispell"

SRC_URI="http://prdownloads.sourceforge.net/${PN}/${MYP}.tar.gz \
http://prdownloads.sourceforge.net/${PN}/${PN}-.33-fix2.diff"

HOMEPAGE="http://aspell.sourceforge.net"

DEPEND=">=app-text/pspell-0.12.2-r1
	>=sys-libs/ncurses-5.2"

src_unpack() {

	cd ${WORKDIR}
	unpack ${MYP}.tar.gz
	#Apply fix2 patch
	cd ${S}
	patch -p0 < ${DISTDIR}/${PN}-.33-fix2.diff

}

src_compile() {

	./configure \
		--prefix=/usr \
		--sysconfdir=/etc/aspell \
		--host=${CHOST} \
		--enable-doc-dir=/usr/share/doc/${PF} \
		|| die "./configure failed"
		
	emake || die "Parallel Make Failed"

}

src_install () {

	make DESTDIR=${D} install || die "Installation Failed"
    
	dodoc README* TODO
	
	cd ${D}/usr/share/doc/${PF}
	mv man-html html
	mv man-text txt
	prepalldocs
    
}



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic