python: override broken_sem_getvalue configure test.
This commit is contained in:
parent
d38077aab5
commit
0ae3a02baf
1 changed files with 11 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'python'.
|
||||
pkgname=python
|
||||
version=2.7.3
|
||||
revision=6
|
||||
revision=7
|
||||
wrksrc="Python-${version}"
|
||||
short_desc="Interpreted, interactive, object-oriented programming language"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -10,8 +10,6 @@ license="PSF"
|
|||
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.xz"
|
||||
checksum=61d36be58e9e9c733c49d7b76858d5c08e2c63a84f2066b29d35d3521057c985
|
||||
|
||||
pycompile_dirs="usr/lib/python2.7"
|
||||
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libffi-devel readline-devel gdbm-devel openssl-devel
|
||||
expat-devel db-devel>=5.3 sqlite-devel bzip2-devel zlib-devel"
|
||||
|
@ -20,7 +18,8 @@ makedepends="libffi-devel readline-devel gdbm-devel openssl-devel
|
|||
# it's not mounted in chroot.
|
||||
configure_args+=" --with-threads --enable-ipv6 --with-signal-module --enable-shared
|
||||
--with-system-ffi --enable-unicode=ucs4 --with-system-expat
|
||||
--with-wctype-functions ac_cv_posix_semaphores_enabled=yes "
|
||||
--with-wctype-functions ac_cv_posix_semaphores_enabled=yes
|
||||
ac_cv_broken_sem_getvalue=no"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# cross build; have to build it in 2 stages: native and host.
|
||||
|
@ -76,9 +75,10 @@ post_install() {
|
|||
}
|
||||
|
||||
python_package() {
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
pycompile_dirs="usr/lib/python2.7"
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
||||
python-devel_package() {
|
||||
|
@ -86,11 +86,11 @@ python-devel_package() {
|
|||
openssl-devel expat-devel db-devel>=5.3 ncurses-devel sqlite-devel
|
||||
python>=${version}"
|
||||
short_desc="Python development files"
|
||||
pkg_install() {
|
||||
vmove "usr/bin/python*-config"
|
||||
vmove usr/lib/pkgconfig
|
||||
pkg_install() {
|
||||
vmove "usr/bin/python*-config"
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/include
|
||||
mkdir -p ${DESTDIR}/usr/include/python2.7
|
||||
mv ${PKGDESTDIR}/usr/include/python2.7/pyconfig.h ${DESTDIR}/usr/include/python2.7
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue