diff --git a/templates/python/template b/templates/python/template index f59a44bbeb6..87da5edb98d 100644 --- a/templates/python/template +++ b/templates/python/template @@ -1,9 +1,10 @@ # Template build file for 'python'. pkgname=python version=2.6.2 +revision=1 wrksrc="Python-$version" distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2" -configure_args="--with-threads --enable-shared" +configure_args="--with-threads --enable-ipv6 --with-signal-module" build_style=gnu_configure short_desc="Interpreted, interactive, object-oriented programming language" maintainer="Juan RP " @@ -29,3 +30,9 @@ Add_dependency full openssl Add_dependency full expat Add_dependency build ncurses Add_dependency run ncurses-libs + +pre_configure() +{ + # Pass our CFLAGS. + export OPT="${XBPS_CFLAGS}" +}