Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8054 - Fix for missing includes in tk ebuild
Summary: Fix for missing includes in tk ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-17 23:34 UTC by Scott Lampert
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Scott Lampert 2002-09-17 23:34:02 UTC
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 "s,^TK_BUILD_LIB_SPEC='-L${S2}/unix,TCL_BUILD_LIB_SPEC='-L/usr/li
b," \
-               -e "s,^TK_SRC_DIR='${S2}',TCL_SRC_DIR='/usr/lib/tk${V2}/include'
," \
+               -e "s,^TK_SRC_DIR='${S2}',TCL_SRC_DIR='/usr/lib/tk${v1}/include'
," \
                -e "s,^TK_BUILD_STUB_LIB_SPEC='-L${S2}/unix,TCL_BUILD_STUB_LIB_S
PEC='-L/usr/lib," \
                -e "s,^TK_BUILD_STUB_LIB_PATH='${S2}/unix,TCL_BUILD_STUB_LIB_PAT
H='/usr/lib," \
                ${D}/usr/lib/tkConfig.sh > ${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
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-09-26 10:59:11 UTC
Fixed in dev-lang/tk-8.3.3-r2