Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67068

Summary: Ebuild howto uses deprecated tertiary operator in code listing 6
Product: [OLD] Docs-developer Reporter: Bryan Østergaard (RETIRED) <kloeri>
Component: Developers HOWTOAssignee: Gentoo Community Relations Team <comrel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: flash3001
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bryan Østergaard (RETIRED) gentoo-dev 2004-10-11 03:22:05 UTC
apache2? ( >=net-www/apache-2 ) : ( =net-www/apache-1* )
should be written as
apache2? ( >=net-www/apache2 ) !apache2? ( =net-www/apache-1* )
Comment 1 SpanKY gentoo-dev 2004-10-11 08:20:09 UTC
what's the URL of the document you're looking at ?

i fixed doc/en/gentoo-howto.xml a while ago
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2004-10-11 10:36:42 UTC
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1

---
Code Listing 6: Conditionals based on USE-settings

DEPEND="X? ( >=x11-base/xfree-4.3 )
mysql? ( >=dev-db/mysql-3.23.49 )
apache2? ( >=net-www/apache-2 ) : ( =net-www/apache-1* )"

src_compile() {
  econf \
---
Comment 3 SpanKY gentoo-dev 2004-10-11 11:59:20 UTC
docs team doesnt maintain those files ... then again, i dont even know why it's duplicated over there ...
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-10-25 03:47:14 UTC

*** This bug has been marked as a duplicate of 66567 ***