public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-mobilephone/gammu: ChangeLog gammu-1.15.0.ebuild
       [not found] <E1IyOlm-0001B9-Cf@stork.gentoo.org>
@ 2007-12-01 19:44 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2007-12-01 19:44 UTC (permalink / raw
  To: gentoo-dev, mrness

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-01 19:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1IyOlm-0001B9-Cf@stork.gentoo.org>
2007-12-01 19:44 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-mobilephone/gammu: ChangeLog gammu-1.15.0.ebuild Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox