From dfd7b0a6a4d6e4e2517475dd43ccc3bea8c82f90 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 1 Oct 2009 16:18:12 +0200 Subject: [PATCH] python: enable ipv6, build signal-module, pass our CFLAGS. Bump revision. --HG-- extra : convert_revision : 55d3ff6bb2cf5a595f1a0cd0f42750e577d31053 --- templates/python/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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}" +}