Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46309 - inherit clobbers DESCRIPTION in mod_php ebuilds
Summary: inherit clobbers DESCRIPTION in mod_php ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-30 16:44 UTC by Andrew Ross (RETIRED)
Modified: 2004-03-31 22:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ross (RETIRED) gentoo-dev 2004-03-30 16:44:08 UTC
DESCRIPTION is set before calling inherit, which then redefines DESCRIPTION. This causes the results of "emerge search mod_php" to display the wrong DESCRIPTION.

Reproducible: Always
Steps to Reproduce:
1. emerge search mod_php

Actual Results:  
Output of emerge search contains "Description: Based on the eutils eclass"


Expected Results:  
Output of emerge search should contain " Description: Apache module for PHP"

I didn't submit a patch for this, because it's not simply a matter of moving the
inherit call to the start of the ebuild (robbat2 can explain further - or just
read the ebuild).

Obviously, you can simply move line setting DESCRIPTION to after the inherit
call, but I don't know if you want to keep IUSE, KEYWORDS, and DESCRIPTION
together or not.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-03-31 22:30:35 UTC
fixed in CVS.