1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Make this work with Python-2.2.

This commit is contained in:
Thomas Gellekum 2002-01-10 11:21:01 +00:00
parent f22499689e
commit a5cd31c767
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52852
2 changed files with 11 additions and 1 deletions

View File

@ -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)

View File

@ -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)