public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-de] USE-Abfrage in ebuild
@ 2005-09-29 14:16 Holger Motzkau
  2005-09-29 16:31 ` Christoph Budziszewski
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Holger Motzkau @ 2005-09-29 14:16 UTC (permalink / raw
  To: gentoo-user-de

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,

ich bin dabei, ein neues ebuild zu schreiben. Dabei muss kontrolliert
werden, ob ein anderes Paket abc mit einem bestimmten USE-flag xyz
kompelliert wurde, also in etwa so:

  if ### gesuchter befehl ### then
    einfo "detected patched abc."
  else
    einfo "detected unpatched abc!"
    ewarn "you need to reemerge abc with use-flag xyz!"
    die "you need to reemerge abc with use-flag xyz!"
  fi

Aber wie genau bekomme ich das raus? Mir fehlt da die entsprechende
Abfragemoeglichkeit. Ich wollte schon "genlop -i abc" nehmen, aber das
ist nicht ueberall vorhanden. "USE="xyz" -vp abc" ware auch eine
Moeglichkeit: wenn dort hinter xyz ein * ist, dann fehlt die Option.
Aber geht es auch einfacher?

MfG Holger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDO/cm1w2TYdmk8BYRAq9SAJ0ZBeJ8LF96bM0y7RmZcoqKiguuYgCdGTOD
dDUnk7aUr8Fp807twWJRQXE=
=4D1S
-----END PGP SIGNATURE-----
-- 
gentoo-user-de@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-09-30  6:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-29 14:16 [gentoo-user-de] USE-Abfrage in ebuild Holger Motzkau
2005-09-29 16:31 ` Christoph Budziszewski
2005-09-29 15:08   ` Holger Motzkau
2005-09-29 16:41   ` [gentoo-user-de] " Christof Schulze
2005-09-29 17:51 ` [gentoo-user-de] " Lars Strojny
2005-09-29 18:02 ` Christian Heim
2005-09-29 18:42   ` Holger Motzkau
2005-09-30  6:11     ` Sebastian Damm

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