Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o, nerdboy@g.o
From: Donnie Berkholz <dberkholz@g.o>
Subject: Re: [gentoo-commits] gentoo-x86 commit in net-misc/hylafax: ChangeLog hylafax-4.4.4.ebuild
Date: Sun, 13 Jul 2008 16:17:38 -0700
On 23:05 Sun 13 Jul     , Steve Arnold (nerdboy) wrote:
> 1.1                  net-misc/hylafax/hylafax-4.4.4.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hylafax/hylafax-4.4.4.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hylafax/hylafax-4.4.4.ebuild?rev=1.1&content-type=text/plain

> src_compile() {
> 	# gcc standard C++ header changes
> 	if [ $(gcc-major-version) -eq 4 ] && [ $(gcc-minor-version) -ge 3 ] ; then
> 	    sed -i -e 's:"new.h":<new>:g' configure util/Types.h || die "sed failed"
> 	    sed -i -e 's:"iostream.h":<iostream>\n using namespace std;:g' \
> 		configure || die "sed failed"
> 	fi

Has a patch been sent upstream for this?

> 	if use html; then
> 		my_conf="${my_conf} --with-HTML=yes"
> 	else
> 		my_conf="${my_conf} --with-HTML=no"
> 	fi

Does this work?

  my_conf="${my_conf} $(use_with html HTML)"

> 	#--enable-pam isn't valid
> 	use pam || my_conf="${my_conf} $(use_enable pam)"

Might avoid some confusion with just --disable-pam since --enable 
doesn't work.

> 	# eval required for quoting in ${my_conf} to work properly, better way?
> 	eval ./configure --nointeractive ${my_conf} || die "./configure failed"

That's kinda gross. What exactly is the problem?

> 	emake -j1 || die "emake failed"

Have you filed an upstream bug about parallel build being broken?

> 	generate_files # in this case, it only generates the env.d entry
> 
> 	einfo "Adding env.d entry for Hylafax"
> 	doenvd 99${P}

doenvd doesn't die on failure.

> 	einfo "Adding init.d entry for Hylafax"
> 	newinitd "${FILESDIR}"/${PN}-4.2 ${PN}

Neither does newinitd.

-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com
Attachment:
pgpiIvIec7tle.pgp (PGP signature)
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-commits] gentoo-x86 commit in app-mobilephone/galicesms: ChangeLog galicesms-1.62.ebuild
Next by thread:
Automated Package Removal and Addition Tracker, for the week ending 2008-07-13 23h59 UTC
Previous by date:
Re: Council meeting summary for 10 July 2008
Next by date:
Re: Council meeting summary for 10 July 2008


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.