public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tod M. Neidt" <tod@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Help! @#$%!& aspell
Date: 30 Jan 2002 11:55:20 -0600	[thread overview]
Message-ID: <1012413326.13523.22.camel@silica.localmosci> (raw)

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

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************************************************


[-- Attachment #2: aspell-0.33.7.1-r1.ebuild --]
[-- Type: text/plain, Size: 1232 bytes --]

# 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
    
}

                 reply	other threads:[~2002-01-30 17:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1012413326.13523.22.camel@silica.localmosci \
    --to=tod@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox