Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 125723
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Maintainers for Miscelleneous Language Packages <lang-misc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ben Gardiner <blg@mast.queensu.ca>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125723 depends on: Show dependency tree
Bug 125723 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-10 09:14 0000
Currently cppunit depends on graphviz, and conditionally (USE=doc) depends on
doxygen; however, the --enable-dot flag for cppunit's ./configure causes
cppunit to tell doxygen to use dot. So the dependency on graphviz should be
conditional on doc also.

A proposed patch for the situation:
-----------------------------------

--- cppunit-1.10.2.ebuild       2006-03-10 12:13:42.000000000 -0500
+++ cppunit-1.10.2-r1.ebuild    2006-03-10 12:00:49.000000000 -0500
@@ -14,8 +14,8 @@               
 IUSE="doc"                     
 RESTRICT="test"                

-DEPEND="doc? ( app-doc/doxygen )
-       media-gfx/graphviz"     
+DEPEND="doc? ( app-doc/doxygen 
+       media-gfx/graphviz )"   

 src_unpack() {                 
        unpack ${A}             
@@ -24,7 +24,10 @@              
 }                              

 src_compile() {                
-       econf $(use_enable doc doxygen) || die "configure failed"
+       econf \                 
+               $(use_enable doc doxygen) \
+               $(use enable doc dot) \
+               || die "configure failed"
        emake || die            
 }

------- Comment #1 From George Shapovalov 2006-04-02 06:24:34 0000 -------
Hi Ben.

Thanks for spotting this!
Fixed.

George

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug