Revert "dev-lang/python: disable MPROTECT"
authorMike Gilbert <floppym@gentoo.org>
Thu, 4 Aug 2016 04:21:16 +0000 (00:21 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 4 Aug 2016 04:21:16 +0000 (00:21 -0400)
This reverts commit b8cb87b5af9ab23e60864a4c66988c0f595f5b77.

dev-lang/python/python-2.7.12.ebuild
dev-lang/python/python-3.4.5.ebuild
dev-lang/python/python-3.5.2.ebuild

index 2901f8f0870ea405710d6060db7fba1c713518ee..992882b2ebd32a424f2334680a8d125ca8650773 100644 (file)
@@ -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() {
index 88f5362878bce14ac3986d3bd4f94ef4bd8c7ba5..433a3a373da849e08951690acc4101e550ddea6e 100644 (file)
@@ -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() {
index a1f4150b9b91a3471cc0064e830867cda0173002..ea66658420d0724c5571c16c97c04a05b0924454 100644 (file)
@@ -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() {