Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4217 - xchat won't built with python in USE flags
Summary: xchat won't built with python in USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gabriele Giorgetti
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-26 21:33 UTC by Jon Nelson (RETIRED)
Modified: 2003-02-04 19:42 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 Jon Nelson (RETIRED) 2002-06-26 21:33:14 UTC
But the following patch fixes that.

Index: xchat-1.8.9.ebuild
===================================================================
RCS file: /home/cvsroot/gentoo-x86/net-irc/xchat/xchat-1.8.9.ebuild,v
retrieving revision 1.2
diff -u -r1.2 xchat-1.8.9.ebuild
--- xchat-1.8.9.ebuild  2002/05/23 06:50:16     1.2
+++ xchat-1.8.9.ebuild  2002/06/27 02:32:10
@@ -27,6 +27,7 @@
 
        use python && ( \
                local mylibs=`/usr/bin/python-config`
+                mylibs="$mylibs -lm"
                sed -e 's:PY_LIBS=".*":PY_LIBS="'"$mylibs"'":' \
                        configure.orig > configure
        )
Comment 1 Jon Nelson (RETIRED) 2002-06-30 08:31:26 UTC
Technically, this looks like it could be a python bug, in the python-config
script.  Either solution works for me, but I think the "right" solution is to
fix the python-config program (which I have done for python-2.2.1-r2, which has
not been committed yet.)

Comment 2 Jon Nelson (RETIRED) 2002-07-02 10:52:42 UTC
This can be closed.
The new python should solve this problem.