summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorȘtefan Talpalaru <stefantalpalaru@yahoo.com>2018-08-17 21:45:30 +0200
committerMichał Górny <mgorny@gentoo.org>2018-09-30 12:53:41 +0200
commit52b809031961e32051870ace639b4efd87234160 (patch)
treeb5f98c2ce9c1dc2654eb50b99e6f76db82721298 /dev-lang/erlang/files
parentapp-cdr/dvdisaster: Cleanup ebuild (#653788 by Daniel Kenzelmann) (diff)
downloadgentoo-52b809031961e32051870ace639b4efd87234160.tar.gz
gentoo-52b809031961e32051870ace639b4efd87234160.tar.bz2
gentoo-52b809031961e32051870ace639b4efd87234160.zip
dev-lang/erlang: version bump to 21.1
I removed some deprecated configure options, properly (re-)added the "wxwidgets" USE flag - without automagic dependencies, added the "pgo" flag and made some USE flags enabled by default to match upstream's defaults. Most of the ebuild was refactored, after code reviews, with the more significant change being the replacement of two shell functions copied from an upstream build script with a call to a patched version of that script. When the "pgo" USE flag is enabled, distcc and ccache are disabled, to avoid a build failure due to a version mismatch in .gcda files that cannot be explained by different GCC versions. Closes: https://bugs.gentoo.org/653700 Closes: https://bugs.gentoo.org/658656 Signed-off-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com> Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/9357
Diffstat (limited to 'dev-lang/erlang/files')
-rw-r--r--dev-lang/erlang/files/erlang-custom-autoconf.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-lang/erlang/files/erlang-custom-autoconf.patch b/dev-lang/erlang/files/erlang-custom-autoconf.patch
new file mode 100644
index 000000000000..5ae7b43ba289
--- /dev/null
+++ b/dev-lang/erlang/files/erlang-custom-autoconf.patch
@@ -0,0 +1,14 @@
+diff -ur otp-OTP-21.0.5.orig/otp_build otp-OTP-21.0.5/otp_build
+--- otp-OTP-21.0.5.orig/otp_build 2018-08-10 19:02:51.000000000 +0200
++++ otp-OTP-21.0.5/otp_build 2018-08-15 23:44:59.417191209 +0200
+@@ -1343,7 +1343,9 @@
+ do_lazy_configure "$@";
+ do_boot;;
+ autoconf)
+- do_autoconf;;
++ create_lib_configure_in
++ distribute_config_helpers
++ ;;
+ configure)
+ shift;
+ do_configure "$@";;