File makefile_for_py27_gcc45.patch of Package python-agrepy
--- a/Makefile 2006-04-13 09:51:26.000000000 +0200
+++ b/Makefile 2011-09-22 15:55:09.975138541 +0200
@@ -1,9 +1,9 @@
VERSION=1.2
-PYTHON_VERSION=2.3
+#PYTHON_VERSION=2.3
# Edit this to point to the directory tree in which Python is found
-PYTHONROOT=/sw
+#PYTHONROOT=/sw
# PYTHONROOT=/usr/local
# Linux
@@ -14,7 +14,7 @@
# Uncomment one of these when creating C only version for testing (see also output below)
# CFLAGS = -g -Wall -Wshaddow -DDEBUG -DDEBUGDEBUG # for agrepy_test
# CFLAGS = -g # for agrepy_test (free standing C application)
-OPTFLAGS = -O3 -funroll-loops
+#OPTFLAGS = -O3 -funroll-loops
# The following flag is relevant to Linux but is not not recognized
# by MacOS X posix compiler so comment it out
@@ -25,9 +25,9 @@
# For Mac OSX
# You will need to make the final argument refer to where the binary lives
-LDFLAGS = -bundle -bundle_loader $(PYTHONROOT)/bin/python$(PYTHON_VERSION)
+#LDFLAGS = $(PYTHONROOT)/bin/python$(PYTHON_VERSION)
-CFLAGS= -DPYTHON $(FPIC) $(OPTFLAGS)
+#CFLAGS= -DPYTHON $(FPIC) $(OPTFLAGS)
INCLUDES = -I$(PYTHONROOT)/include/python$(PYTHON_VERSION)