summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2002-01-10 11:21:01 +0000
committertg <tg@FreeBSD.org>2002-01-10 11:21:01 +0000
commitbb5f5399235176c9f6098a8e2f8d239dcb2bbcd6 (patch)
tree07439fed24ebd71998363e6dbae44efe836212f1 /graphics
parente7719cae66a6942cd5c879b983a77d286484e848 (diff)
downloadFreeBSD-ports-bb5f5399235176c9f6098a8e2f8d239dcb2bbcd6.zip
FreeBSD-ports-bb5f5399235176c9f6098a8e2f8d239dcb2bbcd6.tar.gz
Make this work with Python-2.2.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-imaging/Makefile1
-rw-r--r--graphics/py-imaging/files/patch-Makefile.pre.in11
2 files changed, 11 insertions, 1 deletions
diff --git a/graphics/py-imaging/Makefile b/graphics/py-imaging/Makefile
index 5cd4830..2f601ae 100644
--- a/graphics/py-imaging/Makefile
+++ b/graphics/py-imaging/Makefile
@@ -35,7 +35,6 @@ PILINCDIR= ${PREFIX}/include/${PYTHON_VERSION}
post-extract:
@${CP} ${FILESDIR}/Setup ${WRKSRC}/..
- @${CP} ${PYTHON_LIBDIR}/config/Makefile.pre.in ${WRKSRC}/..
post-configure:
@(cd ${WRKSRC}/..; ${SETENV} ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
diff --git a/graphics/py-imaging/files/patch-Makefile.pre.in b/graphics/py-imaging/files/patch-Makefile.pre.in
new file mode 100644
index 0000000..2341dfb
--- /dev/null
+++ b/graphics/py-imaging/files/patch-Makefile.pre.in
@@ -0,0 +1,11 @@
+--- ../Makefile.pre.in~ Thu May 3 12:57:38 2001
++++ ../Makefile.pre.in Thu Jan 10 09:02:03 2002
+@@ -92,7 +92,7 @@
+ TARGET= python
+
+ # Installed python binary (used only by boot target)
+-PYTHON= python
++PYTHON?= python
+
+ # Add more -I and -D options here
+ CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS)
OpenPOWER on IntegriCloud