From: Mike Frysinger Date: Thu, 8 Dec 2016 16:46:20 +0000 (-0500) Subject: dev-libs/gmp: make sure configure stays +x X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9def35446cd785b073a81e26f3113a6e663f1f8f;p=gentoo.git dev-libs/gmp: make sure configure stays +x Depending on the version of patch used, updates to the configure script might have lost the +x bit. Since we already chmod the main script, add the wrapped one to the list too to workaround patch misbehavior. --- diff --git a/dev-libs/gmp/gmp-6.0.0a.ebuild b/dev-libs/gmp/gmp-6.0.0a.ebuild index 62f3477c389b..3beced7294a5 100644 --- a/dev-libs/gmp/gmp-6.0.0a.ebuild +++ b/dev-libs/gmp/gmp-6.0.0a.ebuild @@ -43,7 +43,8 @@ src_prepare() { #!/bin/sh exec env ABI="${GMPABI}" "$0.wrapped" "$@" EOF - chmod a+rx configure + # Patches to original configure might have lost the +x bit. + chmod a+rx configure{,.wrapped} } multilib_src_configure() { diff --git a/dev-libs/gmp/gmp-6.1.0.ebuild b/dev-libs/gmp/gmp-6.1.0.ebuild index 519ff18c3031..456ed0492a24 100644 --- a/dev-libs/gmp/gmp-6.1.0.ebuild +++ b/dev-libs/gmp/gmp-6.1.0.ebuild @@ -49,7 +49,8 @@ src_prepare() { #!/bin/sh exec env ABI="${GMPABI}" "$0.wrapped" "$@" EOF - chmod a+rx configure + # Patches to original configure might have lost the +x bit. + chmod a+rx configure{,.wrapped} } multilib_src_configure() { diff --git a/dev-libs/gmp/gmp-6.1.1.ebuild b/dev-libs/gmp/gmp-6.1.1.ebuild index 6aa461d57909..3096454b0d31 100644 --- a/dev-libs/gmp/gmp-6.1.1.ebuild +++ b/dev-libs/gmp/gmp-6.1.1.ebuild @@ -48,7 +48,8 @@ src_prepare() { #!/bin/sh exec env ABI="${GMPABI}" "$0.wrapped" "$@" EOF - chmod a+rx configure + # Patches to original configure might have lost the +x bit. + chmod a+rx configure{,.wrapped} } multilib_src_configure() {