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 12-01-2007, 06:44 PM
Donnie Berkholz
 
Default gentoo-x86 commit in app-mobilephone/gammu: ChangeLog gammu-1.15.0.ebuild

On 09:36 Sat 01 Dec , Alin Nastac (mrness) wrote:
> 1.1 app-mobilephone/gammu/gammu-1.15.0.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/gammu-1.15.0.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/gammu-1.15.0.ebuild?rev=1.1&content-type=text/plain

> my_use_with() {
> local WITH_PREFIX
> if [ -n "${2}" ]; then
> WITH_PREFIX="-DWITH_${2}"
> else
> WITH_PREFIX="-DWITH_${1}"
> fi
> if use $1 ; then
> echo ${WITH_PREFIX}=ON
> else
> echo ${WITH_PREFIX}=OFF
> fi
> }

Seems like you're duplicating functionality of cmake-utils.eclass. Might
want to use that instead.

Thanks,
Donnie
--
gentoo-dev@gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 12:44 PM.

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