aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python32
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2006-03-28 07:22:18 +0800
committerperky <perky@FreeBSD.org>2006-03-28 07:22:18 +0800
commitb3f4ab1ee93d154a7200300f6d817701af7d325e (patch)
tree0f4f1791551d9b67e0f551c3a428ffb77bc1f1f4 /lang/python32
parent0892741d14bed07dd895ca258e56050a50eed17a (diff)
downloadfreebsd-ports-gnome-b3f4ab1ee93d154a7200300f6d817701af7d325e.tar.gz
freebsd-ports-gnome-b3f4ab1ee93d154a7200300f6d817701af7d325e.tar.zst
freebsd-ports-gnome-b3f4ab1ee93d154a7200300f6d817701af7d325e.zip
Fix build on environments without python.
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 -