From df7a686f3030321cf6e4a7fe56e1bf2184d2b14d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 6 Oct 2011 14:30:53 +0200 Subject: [PATCH] python: Fix build. Fixes #235. --- python/python.nm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.5