diff options
author | wiz <wiz@pkgsrc.org> | 2014-03-20 12:40:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-03-20 12:40:21 +0000 |
commit | 95eb380eae8484e0c72b0adebd11391befbe039d (patch) | |
tree | 974a8c2cf8cb38077163a8931d7f160b0a09ffd5 /lang/python33 | |
parent | 023c3a504c9ccde13d7a302424dc55a178006225 (diff) | |
download | pkgsrc-95eb380eae8484e0c72b0adebd11391befbe039d.tar.gz |
Copy relevant 5 PLIST-mangling lines from extension.mk,
so the bulk builds are hopefully happy again.
Diffstat (limited to 'lang/python33')
-rw-r--r-- | lang/python33/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/python33/Makefile b/lang/python33/Makefile index d5de5982dc4..d16cdf210b4 100644 --- a/lang/python33/Makefile +++ b/lang/python33/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2014/03/14 14:04:07 ryoon Exp $ +# $NetBSD: Makefile,v 1.21 2014/03/20 12:40:21 wiz Exp $ .include "dist.mk" @@ -12,8 +12,11 @@ LICENSE= python-software-foundation CONFLICTS+= python-[0-9]* -# Trigger PY_PEP3147=yes in PYTHON_VERSION_DEFAULT={26,27} case. -PYTHON_VERSION_REQD= 33 +PLIST_AWK+= -f ${PKGSRCDIR}/lang/python/plist-python.awk +PLIST_AWK_ENV+= PYTHON_SOABI="cpython-33" +PRINT_PLIST_AWK+= /^[^@]/ && /[^\/]+\.py[co]$$/ { +PRINT_PLIST_AWK+= gsub(/__pycache__\//, "") +PRINT_PLIST_AWK+= gsub(/\.cpython-33/, "")} GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-threads @@ -134,7 +137,6 @@ BUILDLINK_DEPMETHOD.readline= build .include "../../devel/readline/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" -.include "../../lang/python/extension.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/oss.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |