Really fix python build this time, and use some patches from pkgsrc
to fix curses, mremap, and bluetooth modules. --HG-- extra : convert_revision : fd555dc3aeb2085fe1d7913bd5d4fdc24c41959e
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
pkgname=python-2.5.2
|
||||
distfiles="Python-2.5.2"
|
||||
extract_sufx=".tar.bz2"
|
||||
patch_files="python-2.5.2-fix-build.diff python-2.5.2-fix-curses-module.diff
|
||||
python-2.5.2-fix-bluetooth.diff python-2.5.2-fix-mremap.diff"
|
||||
url=http://www.python.org/ftp/python/2.5.2
|
||||
configure_args="--with-threads --enable-shared"
|
||||
# Python needs the following in LDFLAGS, otherwise modules don't work.
|
||||
LDFLAGS="-L$PKGFS_BUILDDIR/$pkgname/ -Wl,-R$PKGFS_MASTERDIR/lib/python2.5"
|
||||
LDFLAGS="-L. -L$PKGFS_DESTDIR/$pkgname -Wl,-R$PKGFS_MASTERDIR/lib/python2.5"
|
||||
build_style=gnu_configure
|
||||
short_desc="Interpreted, interactive, object-oriented programming language"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
||||
Reference in New Issue
Block a user