<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>29309</bug_id>
          
          <creation_ts>2003-09-21 21:39 0000</creation_ts>
          <short_desc>lcms-1.11 ebuild contains redundant code</short_desc>
          <delta_ts>2003-09-22 07:11:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>brandy@gentoo.org</reporter>
          <assigned_to>lanius@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>brandy@gentoo.org</who>
            <bug_when>2003-09-21 21:39:20 0000</bug_when>
            <thetext>The lcms-1.11 ebuild contains a redundant block of code that seemsto be 
a throwback to the old lcms-1.09 ebuild where there was no configure 
script and the tiff and jpeg utils had to be explicitely built: 
 
 
	src_install() { 
		..... 
		( use tiff &amp;&amp; use jpeg ) &amp;&amp; ( \ 
		make \ 
			DESTDIR=${D} \ 
			utils || die 
		) 
		..... 
	} 
 
 
In fact the configure-genreated Makefile in lcms-1.11 doesn&apos;t contain 
the target utils and when emerging the following error is encountered: 
 
 
	make: *** No rule to make target `utils&apos;.  Stop. 
 
	!!! ERROR: media-libs/lcms-1.11 failed. 
	!!! Function src_install, Line 38, Exitcode 2 
	!!! (no error message) 
 
 
(Since the die statement is nested within parentheses the compile 
doesn&apos;t stop; apart from this annoying error message, nothing untoward 
happens.)  
 
It also might be worthwhile making tiff and jpeg optional dependencies 
of lcms since they don&apos;t need to be installed if we don&apos;t want the tiff 
and jpeg utils.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-09-22 07:11:51 0000</bug_when>
            <thetext>thx, fixed :) </thetext>
          </long_desc>
      
    </bug>

</bugzilla>