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