aboutsummaryrefslogtreecommitdiff
path: root/lang/python32
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2006-03-27 23:22:18 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2006-03-27 23:22:18 +0000
commite442a1bec800fd4e3cc32940416fab3d62d9058b (patch)
tree22271f23bcb7a4034802166efb0492db60788abd /lang/python32
parentd1bae98f77f51f04c769e00eae470280666ccbd9 (diff)
downloadports-e442a1bec800fd4e3cc32940416fab3d62d9058b.tar.gz
ports-e442a1bec800fd4e3cc32940416fab3d62d9058b.zip
Fix build on environments without python.
Notes
Notes: svn path=/head/; revision=158286
Diffstat (limited to 'lang/python32')
-rw-r--r--lang/python32/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index ca6e601342a0..b031440dccb5 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -130,6 +130,9 @@ pre-patch:
${REINPLACE_CMD} -e \
's|^\( *prefixes = .*\)\]$$|\1, "${X11BASE}"]|g' \
${PATCH_WRKSRC}/Lib/site.py
+ ${REINPLACE_CMD} -e \
+ 's|^ \(..ASDLGEN.*\)$$| ${TRUE}|g' \
+ ${PATCH_WRKSRC}/Makefile.pre.in
post-configure:
${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${SHARED_WRKSRC} -xf -