summaryrefslogtreecommitdiff
path: root/graphics/py-imaging
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-01-10 11:21:01 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-01-10 11:21:01 +0000
commita5cd31c7672f31f084769949d4d752d1f4a72b95 (patch)
tree90e92b71815ce0ededc2ac04a6f7641d4250fae0 /graphics/py-imaging
parentuse ${EXAMPLESDIR} (diff)
Make this work with Python-2.2.
Notes
Notes: svn path=/head/; revision=52852
Diffstat (limited to 'graphics/py-imaging')
-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 5cd48300158a..2f601aed7809 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 000000000000..2341dfb617b4
--- /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)