FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 07-13-2008, 11:17 PM
Donnie Berkholz
 
Default gentoo-x86 commit in net-misc/hylafax: ChangeLog hylafax-4.4.4.ebuild

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

Thread Tools




All times are GMT. The time now is 10:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org