diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2006-03-27 23:22:18 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2006-03-27 23:22:18 +0000 |
commit | e442a1bec800fd4e3cc32940416fab3d62d9058b (patch) | |
tree | 22271f23bcb7a4034802166efb0492db60788abd /lang/python27 | |
parent | Fix handling of shared libraries via rc.d for non-default prefixes. (diff) |
Fix build on environments without python.
Diffstat (limited to 'lang/python27')
-rw-r--r-- | lang/python27/Makefile | 3 |
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 - |