summaryrefslogtreecommitdiff
path: root/lang/python27/Makefile
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/python27/Makefile
parentFix handling of shared libraries via rc.d for non-default prefixes. (diff)
Fix build on environments without python.
Diffstat (limited to '')
-rw-r--r--lang/python27/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index ca6e601342a0..b031440dccb5 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/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 -