diff options
author | perky <perky@FreeBSD.org> | 2006-03-28 07:22:18 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2006-03-28 07:22:18 +0800 |
commit | b3f4ab1ee93d154a7200300f6d817701af7d325e (patch) | |
tree | 0f4f1791551d9b67e0f551c3a428ffb77bc1f1f4 /lang/python27 | |
parent | 0892741d14bed07dd895ca258e56050a50eed17a (diff) | |
download | freebsd-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/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 - |