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:
Juan RP
2008-09-30 17:16:02 +02:00
parent ec04f32481
commit 2a2f97a1da
5 changed files with 139 additions and 1 deletions

View File

@@ -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>"