From: Michael Tremer Date: Thu, 6 Oct 2011 12:30:53 +0000 (+0200) Subject: python: Fix build. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df7a686f3030321cf6e4a7fe56e1bf2184d2b14d;p=ipfire-3.x.git python: Fix build. Fixes #235. --- diff --git a/python/python.nm b/python/python.nm index dd4ea61bf..295f6dc8b 100644 --- a/python/python.nm +++ b/python/python.nm @@ -5,7 +5,7 @@ name = python version = 2.7.1 -release = 3 +release = 4 thisapp = Python-%{version} groups = Development/Languages @@ -44,7 +44,6 @@ build end export CFLAGS += -D_GNU_SOURCE -fwrapv - export CPPFLAGS = $(shell pkg-config --cflags-only-I libffi) prepare_cmds sed -e "s/#*shared*/*shared*/g" -i Modules/Setup.dist @@ -59,6 +58,8 @@ build end build + export CPPFLAGS=$(pkg-config --cflags-only-I libffi) + OPT="%{CFLAGS}" \ ./configure \ --prefix=/usr \ @@ -78,12 +79,11 @@ end packages package %{name} - end - + package %{name}-devel template DEVEL - files =+ \ + files += \ !/usr/lib/python*/config/Makefile \ !/usr/include/python*/pyconfig.h end