<?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>8054</bug_id>
          
          <creation_ts>2002-09-17 23:34 0000</creation_ts>
          <short_desc>Fix for missing includes in tk ebuild</short_desc>
          <delta_ts>2003-02-04 19:42:18 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>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</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>scott@lampert.org</reporter>
          <assigned_to>karltk@gentoo.org</assigned_to>
          <cc>kevin@aptbasilicata.it</cc>

      

      
          <long_desc isprivate="0">
            <who>scott@lampert.org</who>
            <bug_when>2002-09-17 23:34:02 0000</bug_when>
            <thetext>The ebuild for tk leaves out the include files necessary for compiling object
files against its libraries. The following diff fixes this:

--- tk-8.3.3-r1.ebuild  Wed Aug 14 05:20:30 2002
+++ tk-8.3.3-r2.ebuild  Sun Sep 15 10:23:44 2002
@@ -44,14 +44,14 @@
        
        # fix the tkConfig.sh to eliminate refs to the build directory
        sed -e &quot;s,^TK_BUILD_LIB_SPEC=&apos;-L${S2}/unix,TCL_BUILD_LIB_SPEC=&apos;-L/usr/li
b,&quot; \
-               -e &quot;s,^TK_SRC_DIR=&apos;${S2}&apos;,TCL_SRC_DIR=&apos;/usr/lib/tk${V2}/include&apos;
,&quot; \
+               -e &quot;s,^TK_SRC_DIR=&apos;${S2}&apos;,TCL_SRC_DIR=&apos;/usr/lib/tk${v1}/include&apos;
,&quot; \
                -e &quot;s,^TK_BUILD_STUB_LIB_SPEC=&apos;-L${S2}/unix,TCL_BUILD_STUB_LIB_S
PEC=&apos;-L/usr/lib,&quot; \
                -e &quot;s,^TK_BUILD_STUB_LIB_PATH=&apos;${S2}/unix,TCL_BUILD_STUB_LIB_PAT
H=&apos;/usr/lib,&quot; \
                ${D}/usr/lib/tkConfig.sh &gt; ${D}/usr/lib/tkConfig.sh.new
        mv ${D}/usr/lib/tkConfig.sh.new ${D}/usr/lib/tkConfig.sh
        
        # install private headers
-       dodir /usr/lib/tk${V2}/include/unix
+       dodir /usr/lib/tk${v1}/include/unix
        install -c -m0644 ${S}/unix/*.h ${D}/usr/lib/tk${v1}/include/unix
        dodir /usr/lib/tk${v1}/include/generic
        install -c -m0644 ${S}/generic/*.h ${D}/usr/lib/tk${v1}/include/generic</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karltk@gentoo.org</who>
            <bug_when>2002-09-26 10:59:11 0000</bug_when>
            <thetext>Fixed in dev-lang/tk-8.3.3-r2</thetext>
          </long_desc>
      
    </bug>

</bugzilla>