Switch Python to build shared libs, remove customs CFLAGS.
--HG-- extra : convert_revision : 81777a26f8cfcf6eb2d7f43b69515c8be3e47d94
This commit is contained in:
parent
78df73c3e9
commit
d65821e1e2
2 changed files with 4 additions and 7 deletions
|
@ -12,5 +12,5 @@ do_install()
|
||||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/bin
|
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/bin
|
||||||
mv ${SRCPKGDESTDIR}/usr/bin/python*-config ${DESTDIR}/usr/bin
|
mv ${SRCPKGDESTDIR}/usr/bin/python*-config ${DESTDIR}/usr/bin
|
||||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so* ${DESTDIR}/usr/lib
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
# Template build file for 'python'.
|
# Template build file for 'python'.
|
||||||
pkgname=python
|
pkgname=python
|
||||||
version=2.6.4
|
version=2.6.4
|
||||||
|
revision=1
|
||||||
wrksrc="Python-$version"
|
wrksrc="Python-$version"
|
||||||
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"
|
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"
|
||||||
configure_args="--with-threads --enable-ipv6 --with-signal-module"
|
configure_args="--with-threads --enable-ipv6 --with-signal-module
|
||||||
|
--enable-shared"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="Interpreted, interactive, object-oriented programming language"
|
short_desc="Interpreted, interactive, object-oriented programming language"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -31,8 +33,3 @@ Add_dependency full expat
|
||||||
Add_dependency full db
|
Add_dependency full db
|
||||||
Add_dependency build ncurses
|
Add_dependency build ncurses
|
||||||
Add_dependency run ncurses-libs
|
Add_dependency run ncurses-libs
|
||||||
|
|
||||||
pre_configure()
|
|
||||||
{
|
|
||||||
export OPT="${XBPS_CFLAGS} -fwrapv"
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue