summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-08-04 00:21:16 -0400
committerMike Gilbert <floppym@gentoo.org>2016-08-04 00:21:16 -0400
commit7bfef0ed0bc61eaee2088072558d37e11818cfe1 (patch)
treeb548d528e7a9e00816ba22a0d55ce72e9eab1a22 /dev-lang/python
parentdev-perl/File-DesktopEntry: Remove POD Authortests (diff)
downloadgentoo-7bfef0ed0bc61eaee2088072558d37e11818cfe1.tar.gz
gentoo-7bfef0ed0bc61eaee2088072558d37e11818cfe1.tar.bz2
gentoo-7bfef0ed0bc61eaee2088072558d37e11818cfe1.zip
Revert "dev-lang/python: disable MPROTECT"
This reverts commit b8cb87b5af9ab23e60864a4c66988c0f595f5b77.
Diffstat (limited to 'dev-lang/python')
-rw-r--r--dev-lang/python/python-2.7.12.ebuild7
-rw-r--r--dev-lang/python/python-3.4.5.ebuild7
-rw-r--r--dev-lang/python/python-3.5.2.ebuild7
3 files changed, 18 insertions, 3 deletions
diff --git a/dev-lang/python/python-2.7.12.ebuild b/dev-lang/python/python-2.7.12.ebuild
index 2901f8f0870e..992882b2ebd3 100644
--- a/dev-lang/python/python-2.7.12.ebuild
+++ b/dev-lang/python/python-2.7.12.ebuild
@@ -216,7 +216,12 @@ src_compile() {
cd "${BUILD_DIR}" || die
emake
- pax-mark m python
+ # Work around bug 329499. See also bug 413751 and 457194.
+ if has_version dev-libs/libffi[pax_kernel]; then
+ pax-mark E python
+ else
+ pax-mark m python
+ fi
}
src_test() {
diff --git a/dev-lang/python/python-3.4.5.ebuild b/dev-lang/python/python-3.4.5.ebuild
index 88f5362878bc..433a3a373da8 100644
--- a/dev-lang/python/python-3.4.5.ebuild
+++ b/dev-lang/python/python-3.4.5.ebuild
@@ -175,7 +175,12 @@ src_compile() {
emake CPPFLAGS= CFLAGS= LDFLAGS=
- pax-mark m python
+ # Work around bug 329499. See also bug 413751 and 457194.
+ if has_version dev-libs/libffi[pax_kernel]; then
+ pax-mark E python
+ else
+ pax-mark m python
+ fi
}
src_test() {
diff --git a/dev-lang/python/python-3.5.2.ebuild b/dev-lang/python/python-3.5.2.ebuild
index a1f4150b9b91..ea66658420d0 100644
--- a/dev-lang/python/python-3.5.2.ebuild
+++ b/dev-lang/python/python-3.5.2.ebuild
@@ -174,7 +174,12 @@ src_compile() {
emake CPPFLAGS= CFLAGS= LDFLAGS=
- pax-mark m python
+ # Work around bug 329499. See also bug 413751 and 457194.
+ if has_version dev-libs/libffi[pax_kernel]; then
+ pax-mark E python
+ else
+ pax-mark m python
+ fi
}
src_test() {