From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/erlang/
Date: Sat, 7 Jul 2018 18:02:04 +0000 (UTC) [thread overview]
Message-ID: <1530986520.0127244ce83b8b651456bfcc0401746714eb8761.patrick@gentoo> (raw)
commit: 0127244ce83b8b651456bfcc0401746714eb8761
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 7 18:01:12 2018 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Jul 7 18:02:00 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0127244c
dev-lang/erlang: Bump
Restore wxwidgets useflag to avoid pulling in
all of X, GTK and wx on servers where it can't
be used anyway. Strictly speaking this is not
completely correct, but it's the pragmatic fix.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
dev-lang/erlang/Manifest | 4 +
dev-lang/erlang/erlang-20.3.8.ebuild | 226 +++++++++++++++++++++++++++++++++++
dev-lang/erlang/erlang-21.0.2.ebuild | 225 ++++++++++++++++++++++++++++++++++
3 files changed, 455 insertions(+)
diff --git a/dev-lang/erlang/Manifest b/dev-lang/erlang/Manifest
index 5194740d5de..8ec018d1301 100644
--- a/dev-lang/erlang/Manifest
+++ b/dev-lang/erlang/Manifest
@@ -1,6 +1,10 @@
DIST erlang-20.3.2.tar.gz 53492641 BLAKE2B 2cdf78b6003801400d99949865a5b3e17d2209bf411bbe07dc12f749c84725710d12f85cb2559bc39ac04a7d6f7a9ae07b5f131a5524cf4ce3eb8559ca0259bc SHA512 060874cd4f72c1ecea178dd102f4b37a644485a810127092ad04fee76b52729ce199ee476335a2a40370bc718b7e03eb76869c3a48d457773856fd9f6d30a20b
+DIST erlang-20.3.8.tar.gz 53499006 BLAKE2B 0c38fb739a9c4f4b79533faea8c533f85c30d680081b5de96e70722a243d53b9317a26c7138a24a78cadd938777bd48a515484fffef2fdfd720819ab12bb8c0c SHA512 2ada142b47fdd0d1807a179e7cd3067e001f94682011436d33e503219a8a93495a187f8192fa2ebcdac48409e489b7b310d538779447981e6ba033a6dde12e1c
+DIST erlang-21.0.2.tar.gz 52835517 BLAKE2B bf7e2e166236a7c0a3e3411889f163dce0d938c1a854a6c264c137b601587c4cd4d62d58d9a87cf925406272d6e3d6547e4403927adc8e901716289ee2164162 SHA512 ff736a6df92ac7feec7b9ebb1b6523d511a533d48e536f36aee20fa21b5a1dc33791065d45f6900bbbaa48b4ba80b57a306b416801456a5ac33468786dfb00b7
DIST erlang_doc_html_20.3.tar.gz 33594990 BLAKE2B 34db68a5c3ae56f097474cc0b776971853d96c57d3d2e058a5db8998aad9c8d498610979a46155e8e935022f363c944f407c10c650fd35174cf1f50697ddf1de SHA512 4b280228fb9cbd9eb62db12ff9d6fad67d6855d0cdbc780839bbc95302ffd907c5b410e6f8519207db8850b753964571a9bf9df9eca53749f5b01d1b27dbc6d4
+DIST erlang_doc_html_21.0.tar.gz 32501093 BLAKE2B 5c5bab831d4a86129cca41f8e82416d45a92e8ae29cd2223301633b46471783ee6bb8131d469cedcf0f655ea21879c475c61d0b9eefba9e12d78d0a803403a19 SHA512 8be300d9e502b7dcf8db4621d7c5c8981f47cbff851b30b33ef33871f737554eda73dacd179b64995fc45362c4dfd91e15ff659d2898f863465222176bfbff9f
DIST erlang_doc_man_20.3.tar.gz 1339710 BLAKE2B 00aba848940914b3d98f9500b8201b0679d7d63d066cee296c8fbb399f132340b989f3cdcdd6c45a46e432efdb7c40c39d8ab4f3dbd64570316d649efc9faed1 SHA512 22c398ce3b42c7ef8abec1db85745eeb4d8804bc679d40b6a786fdc40dc241e43b5551df5d1eccb3ca8d4a64b833bf6663e77044f4564bb49cf67c4b74c5ea25
+DIST erlang_doc_man_21.0.tar.gz 1311959 BLAKE2B 70b049c6d7b8bbbb3bf77f7588ccf0eb937d5fe511968d47e1325dd01b48e986ae82804ffc88b750f0f7e2fe0482c0506ad060a6a84892eea61264aa2b003dd9 SHA512 611ac0b7cb2c0bc0bb6cd194dffe4f9d2c95bf38da033aa8c43d386a9bedf6f7d6fa8a95d340dbb57da2698602599c8e0501cbbdd735d6e5d35110aa9087dc79
DIST otp_doc_html_19.1.tar.gz 34624316 BLAKE2B e3a5edfe1645d58e4cbd6537c775190716eed7613610ddfa112692fdbace2077b1ccdf7df5987973d2ae4ef529e4ec45d44a240265157816e2a15dabe9232b83 SHA512 2c6448af0be4bf35427950aca82eac3aac7554575ba07a8ba8942c27e1eb668461fde00604c3be28fbaca8a1e28ee4861608e33a9c79bc951bb695f99b1c1ac8
DIST otp_doc_html_19.3.tar.gz 35818689 BLAKE2B 30118276fbd817b803ef20700fe2e71a8457645d00f8949b6d3175d92cb5c84d306e4de9899e2f5e0c562d8040dc22db35e1a0f2e314cf1a783794573b3ece59 SHA512 a70d2c470fa1dc0594b20af73ba36ccb7702b4192960e6fc0296738175215a43450f9bf558637f7f5e40757f7a15dcf4f1ae8a88515e211cd3c0fae45c5e1858
DIST otp_doc_html_20.2.tar.gz 33570484 BLAKE2B c47244a601ae780e5304aedbafbc84d514cb21852760c51384b197d8d37602d51448b7123f6205da9afd2c5d2158f518a122dd4d550ca2ff22d3425eb31b6cf7 SHA512 b481930066737cf0ae2496aa9bc0c865da46bd3985fe5ebcf51eb9383539a57ec364e1eed9d3916ba0953d837d0d5d37cfc129a995d4e2a9656846e75cda9397
diff --git a/dev-lang/erlang/erlang-20.3.8.ebuild b/dev-lang/erlang/erlang-20.3.8.ebuild
new file mode 100644
index 00000000000..ed20da173d4
--- /dev/null
+++ b/dev-lang/erlang/erlang-20.3.8.ebuild
@@ -0,0 +1,226 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER="3.0"
+
+inherit autotools elisp-common java-pkg-opt-2 systemd versionator wxwidgets
+
+# NOTE: If you need symlinks for binaries please tell maintainers or
+# open up a bug to let it be created.
+
+UPSTREAM_V="$(get_version_component_range 1-2)"
+
+DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
+HOMEPAGE="http://www.erlang.org/"
+SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
+ http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
+ doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
+
+IUSE="dirty-schedulers doc emacs hipe java kpoll libressl odbc smp sctp ssl systemd tk wxwidgets"
+REQUIRED_USE="dirty-schedulers? ( smp )" #621610
+
+RDEPEND="
+ ssl? (
+ !libressl? ( >=dev-libs/openssl-0.9.7d:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ emacs? ( virtual/emacs )
+ java? ( >=virtual/jdk-1.2:* )
+ odbc? ( dev-db/unixODBC )
+ systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ sctp? ( net-misc/lksctp-tools )
+ sys-libs/zlib
+ tk? ( dev-lang/tk )
+ wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
+ virtual/glu )
+"
+
+S="${WORKDIR}/otp-OTP-${PV}"
+
+PATCHES=(
+ "${FILESDIR}/18.2.1-wx3.0.patch"
+ "${FILESDIR}/${PN}-20.3.2-dont-ignore-LDFLAGS.patch"
+ )
+
+SITEFILE=50"${PN}"-gentoo.el
+
+# Taken from the upstream build script, build_otp
+erlang_create_lib_configure_in() {
+ local bootstrap_apps="erts lib/asn1 lib/compiler lib/hipelib/ic lib/kernel
+ lib/parsetools lib/sasl lib/snmp lib/stdlib lib/syntax_tools"
+ local sdirs=
+ for lib_app in ${bootstrap_apps}; do
+ case "${lib_app}" in
+ lib/*)
+ if [[ -f "${lib_app}/configure.in" ]]; then
+ mv "${lib_app}/configure.in" "${lib_app}/configure.ac" || die
+ app=`echo "${lib_app}" | sed "s|lib/\(.*\)|\1|"`
+ sdirs="${sdirs}test ! -f ${app}/configure || AC_CONFIG_SUBDIRS(${app}/.)\n" || die
+ fi;;
+ *)
+ ;;
+ esac
+ done
+
+ local sed_bootstrap="s%@BOOTSTRAP_CONFIGURE_APPS@%$sdirs%g"
+
+ sdirs=
+ for lib_app in lib/*; do
+ local is_bapp=false
+ for bapp in ${bootstrap_apps}; do
+ test "${bapp} != ${lib_app}" || { "${is_bapp}"=true; break; }
+ done
+ if [[ "${is_bapp}" = false ]] && [[ -f "${lib_app}/configure.in" ]]; then
+ mv "${lib_app}/configure.in" "${lib_app}/configure.ac" || die
+ app=`echo "${lib_app}" | sed "s|lib/\(.*\)|\1|"` || die
+ sdirs="${sdirs} test ! -f ${app}/configure || AC_CONFIG_SUBDIRS(${app}/.)\n"
+ fi
+ done
+
+ local sed_non_bootstrap="s%@NON_BOOTSTRAP_CONFIGURE_APPS@%$sdirs%g"
+
+ rm -f lib/configure.in || die
+ sed "$sed_bootstrap;$sed_non_bootstrap" > lib/configure.ac < lib/configure.in.src || die "Failed to create lib/configure.ac"
+
+}
+
+# Taken from the upstream build script, build_otp
+erlang_distribute_config_helpers() {
+ local aclocal_dirs=". ./lib/erl_interface ./lib/odbc ./lib/wx ./lib/megaco"
+ local autoconf_aux_dirs="./lib/common_test/priv/auxdir ./lib/erl_interface/src/auxdir ./lib/common_test/test_server ./lib/wx/autoconf"
+
+ local aclocal_master="./erts/aclocal.m4"
+ local install_sh_master="./erts/autoconf/install-sh"
+ local config_guess_master="./erts/autoconf/config.guess"
+ local config_sub_master="./erts/autoconf/config.sub"
+
+ for dir in ${aclocal_dirs}; do
+ "${install_sh_master}" -m 644 -t "${dir}" "${aclocal_master}" || die
+ done
+
+ for dir in ${autoconf_aux_dirs}; do
+ "${install_sh_master}" -d "${dir}" || die
+ "${install_sh_master}" -t "${dir}" "${install_sh_master}" || die
+ "${install_sh_master}" -t "${dir}" "${config_guess_master}" || die
+ "${install_sh_master}" -t "${dir}" "${config_sub_master}" || die
+ done
+}
+
+src_prepare() {
+ default
+
+ # Determines which directories to recurse into with autoconf
+ erlang_create_lib_configure_in
+
+ # Move local autoconf files into the neccessary directories
+ erlang_distribute_config_helpers
+
+ java-pkg-opt-2_src_prepare
+
+ eautoreconf
+}
+
+src_configure() {
+ use wxwidgets && need-wxwidgets unicode
+
+ econf \
+ --disable-builtin-zlib \
+ $(use_enable dirty-schedulers) \
+ $(use_enable hipe) \
+ $(use_enable kpoll kernel-poll) \
+ $(use_with java javac) \
+ $(use_with odbc) \
+ $(use_enable sctp) \
+ $(use_enable smp smp-support) \
+ $(use_with ssl) \
+ $(use_with ssl ssl-rpath "no") \
+ $(use_enable ssl dynamic-ssl-lib) \
+ $(use_enable systemd) \
+ --enable-threads
+}
+
+src_compile() {
+ emake
+
+ if use emacs ; then
+ pushd lib/tools/emacs &>/dev/null || die
+ elisp-compile *.el
+ popd &>/dev/null || die
+ fi
+}
+
+extract_version() {
+ sed -n -e "/^$2 = \(.*\)$/s::\1:p" "${S}/$1/vsn.mk"
+}
+
+src_install() {
+ local ERL_LIBDIR="/usr/$(get_libdir)/erlang"
+ local ERL_INTERFACE_VER="$(extract_version lib/erl_interface EI_VSN)"
+ local ERL_ERTS_VER="$(extract_version erts VSN)"
+ local MY_MANPATH="/usr/share/${PN}/man"
+
+ [[ -z "${ERL_ERTS_VER}" ]] && die "Couldn't determine erts version"
+ [[ -z "${ERL_INTERFACE_VER}" ]] && die "Couldn't determine interface version"
+
+ emake INSTALL_PREFIX="${ED}" install
+
+ if use doc ; then
+ local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" "${WORKDIR}"/doc/. "${WORKDIR}"/lib/. "${WORKDIR}"/erts-* )
+ docompress -x /usr/share/doc/${PF}
+ fi
+
+ einstalldocs
+
+ dosym "${ERL_LIBDIR}/bin/erl" /usr/bin/erl
+ dosym "${ERL_LIBDIR}/bin/erlc" /usr/bin/erlc
+ dosym "${ERL_LIBDIR}/bin/escript" /usr/bin/escript
+ dosym \
+ "${ERL_LIBDIR}/lib/erl_interface-${ERL_INTERFACE_VER}/bin/erl_call" \
+ /usr/bin/erl_call
+
+ if use smp; then
+ dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
+ else
+ dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
+ fi
+
+ ## Clean up the no longer needed files
+ rm "${ED}/${ERL_LIBDIR}/Install" || die
+
+ insinto "${MY_MANPATH}"
+
+ doins -r "${WORKDIR}"/man/*
+
+ # extend MANPATH, so the normal man command can find it
+ # see bug 189639
+ echo "MANPATH=\"${MY_MANPATH}\"" > "${T}/90erlang" || die
+ doenvd "${T}/90erlang"
+
+ if use emacs ; then
+ pushd "${S}" &>/dev/null || die
+ elisp-install erlang lib/tools/emacs/*.{el,elc}
+ sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
+ "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
+ elisp-site-file-install "${T}/${SITEFILE}"
+ popd &>/dev/null || die
+ fi
+
+ newinitd "${FILESDIR}"/epmd.init epmd
+ systemd_dounit "${FILESDIR}"/epmd.service
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-lang/erlang/erlang-21.0.2.ebuild b/dev-lang/erlang/erlang-21.0.2.ebuild
new file mode 100644
index 00000000000..4d85955c470
--- /dev/null
+++ b/dev-lang/erlang/erlang-21.0.2.ebuild
@@ -0,0 +1,225 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER="3.0"
+
+inherit autotools elisp-common java-pkg-opt-2 systemd versionator wxwidgets
+
+# NOTE: If you need symlinks for binaries please tell maintainers or
+# open up a bug to let it be created.
+
+UPSTREAM_V="$(get_version_component_range 1-2)"
+
+DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
+HOMEPAGE="http://www.erlang.org/"
+SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
+ http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
+ doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
+
+IUSE="dirty-schedulers doc emacs hipe java kpoll libressl odbc smp sctp ssl systemd tk wxwidgets"
+REQUIRED_USE="dirty-schedulers? ( smp )" #621610
+
+RDEPEND="
+ ssl? (
+ !libressl? ( >=dev-libs/openssl-0.9.7d:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ emacs? ( virtual/emacs )
+ java? ( >=virtual/jdk-1.2:* )
+ odbc? ( dev-db/unixODBC )
+ systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ sctp? ( net-misc/lksctp-tools )
+ sys-libs/zlib
+ tk? ( dev-lang/tk )
+ wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] virtual/glu )
+"
+
+S="${WORKDIR}/otp-OTP-${PV}"
+
+PATCHES=(
+ "${FILESDIR}/18.2.1-wx3.0.patch"
+ "${FILESDIR}/${PN}-20.3.2-dont-ignore-LDFLAGS.patch"
+ )
+
+SITEFILE=50"${PN}"-gentoo.el
+
+# Taken from the upstream build script, build_otp
+erlang_create_lib_configure_in() {
+ local bootstrap_apps="erts lib/asn1 lib/compiler lib/hipelib/ic lib/kernel
+ lib/parsetools lib/sasl lib/snmp lib/stdlib lib/syntax_tools"
+ local sdirs=
+ for lib_app in ${bootstrap_apps}; do
+ case "${lib_app}" in
+ lib/*)
+ if [[ -f "${lib_app}/configure.in" ]]; then
+ mv "${lib_app}/configure.in" "${lib_app}/configure.ac" || die
+ app=`echo "${lib_app}" | sed "s|lib/\(.*\)|\1|"`
+ sdirs="${sdirs}test ! -f ${app}/configure || AC_CONFIG_SUBDIRS(${app}/.)\n" || die
+ fi;;
+ *)
+ ;;
+ esac
+ done
+
+ local sed_bootstrap="s%@BOOTSTRAP_CONFIGURE_APPS@%$sdirs%g"
+
+ sdirs=
+ for lib_app in lib/*; do
+ local is_bapp=false
+ for bapp in ${bootstrap_apps}; do
+ test "${bapp} != ${lib_app}" || { "${is_bapp}"=true; break; }
+ done
+ if [[ "${is_bapp}" = false ]] && [[ -f "${lib_app}/configure.in" ]]; then
+ mv "${lib_app}/configure.in" "${lib_app}/configure.ac" || die
+ app=`echo "${lib_app}" | sed "s|lib/\(.*\)|\1|"` || die
+ sdirs="${sdirs} test ! -f ${app}/configure || AC_CONFIG_SUBDIRS(${app}/.)\n"
+ fi
+ done
+
+ local sed_non_bootstrap="s%@NON_BOOTSTRAP_CONFIGURE_APPS@%$sdirs%g"
+
+ rm -f lib/configure.in || die
+ sed "$sed_bootstrap;$sed_non_bootstrap" > lib/configure.ac < lib/configure.in.src || die "Failed to create lib/configure.ac"
+
+}
+
+# Taken from the upstream build script, build_otp
+erlang_distribute_config_helpers() {
+ local aclocal_dirs=". ./lib/erl_interface ./lib/odbc ./lib/wx ./lib/megaco"
+ local autoconf_aux_dirs="./lib/common_test/priv/auxdir ./lib/erl_interface/src/auxdir ./lib/common_test/test_server ./lib/wx/autoconf"
+
+ local aclocal_master="./erts/aclocal.m4"
+ local install_sh_master="./erts/autoconf/install-sh"
+ local config_guess_master="./erts/autoconf/config.guess"
+ local config_sub_master="./erts/autoconf/config.sub"
+
+ for dir in ${aclocal_dirs}; do
+ "${install_sh_master}" -m 644 -t "${dir}" "${aclocal_master}" || die
+ done
+
+ for dir in ${autoconf_aux_dirs}; do
+ "${install_sh_master}" -d "${dir}" || die
+ "${install_sh_master}" -t "${dir}" "${install_sh_master}" || die
+ "${install_sh_master}" -t "${dir}" "${config_guess_master}" || die
+ "${install_sh_master}" -t "${dir}" "${config_sub_master}" || die
+ done
+}
+
+src_prepare() {
+ default
+
+ # Determines which directories to recurse into with autoconf
+ erlang_create_lib_configure_in
+
+ # Move local autoconf files into the neccessary directories
+ erlang_distribute_config_helpers
+
+ java-pkg-opt-2_src_prepare
+
+ eautoreconf
+}
+
+src_configure() {
+ use wxwidgets && need-wxwidgets unicode
+
+ econf \
+ --disable-builtin-zlib \
+ $(use_enable dirty-schedulers) \
+ $(use_enable hipe) \
+ $(use_enable kpoll kernel-poll) \
+ $(use_with java javac) \
+ $(use_with odbc) \
+ $(use_enable sctp) \
+ $(use_enable smp smp-support) \
+ $(use_with ssl) \
+ $(use_with ssl ssl-rpath "no") \
+ $(use_enable ssl dynamic-ssl-lib) \
+ $(use_enable systemd) \
+ --enable-threads
+}
+
+src_compile() {
+ emake
+
+ if use emacs ; then
+ pushd lib/tools/emacs &>/dev/null || die
+ elisp-compile *.el
+ popd &>/dev/null || die
+ fi
+}
+
+extract_version() {
+ sed -n -e "/^$2 = \(.*\)$/s::\1:p" "${S}/$1/vsn.mk"
+}
+
+src_install() {
+ local ERL_LIBDIR="/usr/$(get_libdir)/erlang"
+ local ERL_INTERFACE_VER="$(extract_version lib/erl_interface EI_VSN)"
+ local ERL_ERTS_VER="$(extract_version erts VSN)"
+ local MY_MANPATH="/usr/share/${PN}/man"
+
+ [[ -z "${ERL_ERTS_VER}" ]] && die "Couldn't determine erts version"
+ [[ -z "${ERL_INTERFACE_VER}" ]] && die "Couldn't determine interface version"
+
+ emake INSTALL_PREFIX="${ED}" install
+
+ if use doc ; then
+ local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" "${WORKDIR}"/doc/. "${WORKDIR}"/lib/. "${WORKDIR}"/erts-* )
+ docompress -x /usr/share/doc/${PF}
+ fi
+
+ einstalldocs
+
+ dosym "${ERL_LIBDIR}/bin/erl" /usr/bin/erl
+ dosym "${ERL_LIBDIR}/bin/erlc" /usr/bin/erlc
+ dosym "${ERL_LIBDIR}/bin/escript" /usr/bin/escript
+ dosym \
+ "${ERL_LIBDIR}/lib/erl_interface-${ERL_INTERFACE_VER}/bin/erl_call" \
+ /usr/bin/erl_call
+
+ if use smp; then
+ dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
+ else
+ dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
+ fi
+
+ ## Clean up the no longer needed files
+ rm "${ED}/${ERL_LIBDIR}/Install" || die
+
+ insinto "${MY_MANPATH}"
+
+ doins -r "${WORKDIR}"/man/*
+
+ # extend MANPATH, so the normal man command can find it
+ # see bug 189639
+ echo "MANPATH=\"${MY_MANPATH}\"" > "${T}/90erlang" || die
+ doenvd "${T}/90erlang"
+
+ if use emacs ; then
+ pushd "${S}" &>/dev/null || die
+ elisp-install erlang lib/tools/emacs/*.{el,elc}
+ sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
+ "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
+ elisp-site-file-install "${T}/${SITEFILE}"
+ popd &>/dev/null || die
+ fi
+
+ newinitd "${FILESDIR}"/epmd.init epmd
+ systemd_dounit "${FILESDIR}"/epmd.service
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
next reply other threads:[~2018-07-07 18:02 UTC|newest]
Thread overview: 368+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-07 18:02 Patrick Lauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-03 13:04 [gentoo-commits] repo/gentoo:master commit in: dev-lang/erlang/ Matthew Smith
2024-05-24 9:09 Matthew Smith
2024-02-25 18:04 Matthew Smith
2024-01-12 21:39 Sam James
2023-12-30 6:38 Arthur Zamarin
2023-12-25 19:17 Arthur Zamarin
2023-12-25 17:21 Sam James
2023-12-25 15:18 Sam James
2023-12-25 10:42 Sam James
2023-12-25 9:03 Matthew Smith
2023-12-16 11:20 Matthew Smith
2023-11-17 13:38 Matthew Smith
2023-11-17 13:38 Matthew Smith
2023-10-11 12:21 Matthew Smith
2023-10-08 8:50 Matthew Smith
2023-10-06 8:35 Matthew Smith
2023-10-04 18:32 Arthur Zamarin
2023-10-04 15:28 Sam James
2023-10-04 12:10 Sam James
2023-10-04 10:00 Matthew Smith
2023-05-27 9:43 Sam James
2023-05-27 9:43 Sam James
2023-05-19 9:32 Arthur Zamarin
2023-05-18 19:42 Sam James
2023-05-18 19:17 Arthur Zamarin
2023-05-18 16:48 Matthew Smith
2023-04-01 15:13 罗百科
2023-04-01 15:13 罗百科
2023-02-05 9:32 Matthew Smith
2022-12-04 17:56 Arthur Zamarin
2022-12-03 18:20 Arthur Zamarin
2022-12-03 15:41 Arthur Zamarin
2022-12-03 11:39 Arthur Zamarin
2022-12-03 9:04 Arthur Zamarin
2022-11-25 8:56 Matthew Smith
2022-11-10 10:52 Matthew Smith
2022-09-25 8:47 Matthew Smith
2022-09-24 18:29 Agostino Sarubbo
2022-09-24 7:15 Arthur Zamarin
2022-09-24 7:15 Arthur Zamarin
2022-09-24 5:24 Agostino Sarubbo
2022-09-24 3:15 Sam James
2022-09-23 8:12 Matthew Smith
2022-09-16 19:58 Arthur Zamarin
2022-09-15 19:58 Arthur Zamarin
2022-09-10 6:43 Jakov Smolić
2022-09-10 4:46 Sam James
2022-09-09 22:26 Jakov Smolić
2022-09-09 11:11 Matthew Smith
2022-08-20 7:13 Matthew Smith
2022-08-20 7:13 Matthew Smith
2022-08-15 7:46 Agostino Sarubbo
2022-08-15 7:44 Agostino Sarubbo
2022-08-15 7:43 Agostino Sarubbo
2022-08-15 7:40 Agostino Sarubbo
2022-08-14 16:33 Arthur Zamarin
2022-08-08 18:08 Matthew Smith
2022-07-09 9:26 Matthew Smith
2022-07-09 9:26 Matthew Smith
2022-07-03 10:50 Agostino Sarubbo
2022-07-03 10:49 Agostino Sarubbo
2022-07-02 18:18 Sam James
2022-07-02 16:05 Jakov Smolić
2022-07-02 12:59 Arthur Zamarin
2022-05-18 16:48 Matthew Smith
2022-05-05 14:35 Matthew Smith
2022-05-05 14:35 Matthew Smith
2022-04-20 16:30 Matthew Smith
2022-04-19 16:43 Arthur Zamarin
2022-04-19 13:35 Arthur Zamarin
2022-04-19 13:22 Arthur Zamarin
2022-04-19 13:07 Arthur Zamarin
2022-04-19 12:13 Arthur Zamarin
2022-04-19 12:13 Arthur Zamarin
2022-04-19 6:12 Jakov Smolić
2022-04-19 6:12 Jakov Smolić
2022-04-19 6:12 Jakov Smolić
2022-04-19 6:12 Jakov Smolić
2022-03-31 16:33 Matthew Smith
2022-03-31 16:33 Matthew Smith
2022-03-27 9:25 Matthew Smith
2022-03-25 20:02 Florian Schmaus
2022-03-21 9:15 Jakov Smolić
2022-03-21 7:48 Agostino Sarubbo
2022-03-21 7:48 Agostino Sarubbo
2022-03-21 7:48 Agostino Sarubbo
2022-03-21 7:47 Agostino Sarubbo
2022-03-19 9:30 Matthew Smith
2022-03-12 20:19 Matthew Smith
2022-03-12 20:19 Matthew Smith
2022-03-12 8:36 Matthew Smith
2022-03-10 10:10 Jakov Smolić
2022-03-07 17:52 Matthew Smith
2022-03-05 14:46 Matthew Smith
2022-02-19 12:02 Arthur Zamarin
2022-02-19 9:01 Arthur Zamarin
2022-02-19 8:11 Arthur Zamarin
2022-01-27 17:41 Florian Schmaus
2021-12-27 1:38 Sam James
2021-12-04 9:06 Joonas Niilola
2021-12-04 9:06 Joonas Niilola
2021-11-07 8:34 罗百科
2021-07-24 17:30 Sergei Trofimovich
2021-07-23 7:33 Sergei Trofimovich
2021-07-17 11:22 Sergei Trofimovich
2021-07-09 6:26 Agostino Sarubbo
2021-07-08 15:53 Sergei Trofimovich
2021-07-07 6:31 Agostino Sarubbo
2021-07-07 2:17 Sam James
2021-07-05 7:49 Sergei Trofimovich
2021-06-24 22:56 Sergei Trofimovich
2021-06-20 7:52 Agostino Sarubbo
2021-06-20 7:51 Agostino Sarubbo
2021-06-19 23:54 Sam James
2021-06-19 23:51 Sam James
2021-06-19 23:51 Sam James
2021-06-19 9:01 Sergei Trofimovich
2021-06-13 6:30 Agostino Sarubbo
2021-06-13 6:28 Agostino Sarubbo
2021-06-13 6:04 Sam James
2021-06-13 3:45 Sam James
2021-06-12 13:46 Sam James
2021-06-05 10:50 Sergei Trofimovich
2021-05-21 22:25 Sergei Trofimovich
2021-05-16 13:16 Sergei Trofimovich
2021-05-15 13:58 Sergei Trofimovich
2021-05-10 21:38 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-05-06 18:15 Sergei Trofimovich
2021-05-04 19:12 Sam James
2021-05-03 16:57 Sam James
2021-05-03 16:55 Sam James
2021-05-03 16:51 Sam James
2021-05-02 9:24 Sergei Trofimovich
2021-05-01 20:44 Sergei Trofimovich
2021-04-30 8:44 Sergei Trofimovich
2021-04-28 18:16 Sergei Trofimovich
2021-04-24 12:37 Sergei Trofimovich
2021-04-11 11:06 Sam James
2021-04-07 22:47 Sam James
2021-04-07 6:24 Sam James
2021-04-01 17:55 Sergei Trofimovich
2021-03-27 8:18 Sergei Trofimovich
2021-03-06 10:13 Sergei Trofimovich
2021-03-03 23:06 Sergei Trofimovich
2021-02-27 21:26 Sergei Trofimovich
2021-02-27 10:44 Sam James
2021-02-27 10:08 Sam James
2021-02-26 14:40 Agostino Sarubbo
2021-02-26 14:03 Sam James
2021-02-26 13:59 Sam James
2021-02-26 10:25 Sergei Trofimovich
2021-02-21 5:41 Sam James
2021-02-21 4:04 Sam James
2021-02-21 4:04 Sam James
2021-02-21 0:47 Sam James
2021-02-21 0:47 Sam James
2021-02-17 9:05 Sergei Trofimovich
2021-02-14 12:10 Sergei Trofimovich
2021-02-12 13:46 Sam James
2021-02-05 15:26 Sam James
2021-02-05 15:25 Sam James
2021-02-05 12:31 Sam James
2021-02-05 10:42 Sam James
2021-02-05 10:13 Sergei Trofimovich
2021-01-28 8:09 Sergei Trofimovich
2021-01-25 2:12 Sam James
2021-01-24 13:35 Sam James
2021-01-23 11:28 Sergei Trofimovich
2021-01-23 11:28 Sergei Trofimovich
2021-01-21 7:40 Agostino Sarubbo
2021-01-20 7:41 Agostino Sarubbo
2021-01-19 7:04 Sergei Trofimovich
2021-01-18 1:41 Sam James
2021-01-16 13:13 Sergei Trofimovich
2021-01-11 17:34 Sergei Trofimovich
2021-01-10 22:29 Sam James
2021-01-09 16:23 Sam James
2021-01-09 16:23 Sam James
2021-01-09 11:55 Sergei Trofimovich
2020-12-27 12:32 Sergei Trofimovich
2020-12-27 12:28 Sergei Trofimovich
2020-12-27 11:38 Sergei Trofimovich
2020-12-26 19:35 Sam James
2020-12-26 19:26 Sergei Trofimovich
2020-12-17 23:23 Sergei Trofimovich
2020-12-08 18:52 Sergei Trofimovich
2020-11-26 8:38 Sergei Trofimovich
2020-11-21 11:37 Sergei Trofimovich
2020-11-20 22:16 Sergei Trofimovich
2020-11-18 15:07 Agostino Sarubbo
2020-11-18 15:06 Agostino Sarubbo
2020-11-18 15:06 Agostino Sarubbo
2020-11-18 13:45 Joonas Niilola
2020-11-18 9:01 Sam James
2020-11-18 8:26 Sergei Trofimovich
2020-11-14 20:32 Sam James
2020-11-07 20:37 Sergei Trofimovich
2020-11-07 20:34 Sergei Trofimovich
2020-11-07 20:22 Sergei Trofimovich
2020-11-02 10:21 Sergei Trofimovich
2020-10-08 8:00 Sergei Trofimovich
2020-10-07 6:54 Agostino Sarubbo
2020-10-07 6:53 Agostino Sarubbo
2020-10-07 6:50 Agostino Sarubbo
2020-10-06 22:20 Sergei Trofimovich
2020-10-06 22:20 Sergei Trofimovich
2020-09-24 22:50 Sergei Trofimovich
2020-09-07 8:20 Sergei Trofimovich
2020-09-03 22:25 Sergei Trofimovich
2020-08-23 8:52 Sergei Trofimovich
2020-08-16 14:50 Agostino Sarubbo
2020-08-16 14:48 Agostino Sarubbo
2020-08-16 14:46 Agostino Sarubbo
2020-08-16 9:53 Sergei Trofimovich
2020-08-11 14:23 Agostino Sarubbo
2020-08-11 14:18 Agostino Sarubbo
2020-08-10 12:04 Agostino Sarubbo
2020-07-11 15:54 Sergei Trofimovich
2020-07-04 21:23 Sergei Trofimovich
2020-07-01 21:43 Sergei Trofimovich
2020-06-28 22:43 Sergei Trofimovich
2020-06-21 17:12 Agostino Sarubbo
2020-06-21 17:08 Agostino Sarubbo
2020-06-21 16:54 Agostino Sarubbo
2020-06-20 19:49 Sergei Trofimovich
2020-06-20 15:45 Thomas Deutschmann
2020-06-15 15:16 Agostino Sarubbo
2020-06-15 15:12 Agostino Sarubbo
2020-06-15 15:08 Agostino Sarubbo
2020-06-15 15:06 Agostino Sarubbo
2020-06-15 14:59 Agostino Sarubbo
2020-05-29 22:13 Sergei Trofimovich
2020-05-28 15:45 Agostino Sarubbo
2020-05-28 15:43 Agostino Sarubbo
2020-05-26 19:31 Agostino Sarubbo
2020-05-25 9:36 Sergei Trofimovich
2020-05-25 9:29 Sergei Trofimovich
2020-05-20 21:43 Sergei Trofimovich
2020-05-13 18:44 Sergei Trofimovich
2020-05-09 14:56 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-28 18:31 Sergei Trofimovich
2020-04-20 9:50 Agostino Sarubbo
2020-04-20 9:48 Agostino Sarubbo
2020-04-19 12:16 Agostino Sarubbo
2020-04-18 9:18 Agostino Sarubbo
2020-04-18 8:24 Sergei Trofimovich
2020-04-10 11:12 Sergei Trofimovich
2020-04-10 11:12 Sergei Trofimovich
2020-04-08 22:04 Sergei Trofimovich
2020-04-03 13:11 Agostino Sarubbo
2020-04-03 12:19 Agostino Sarubbo
2020-04-03 12:16 Agostino Sarubbo
2020-04-03 12:12 Agostino Sarubbo
2020-04-03 9:02 Agostino Sarubbo
2020-03-23 23:58 Sergei Trofimovich
2020-03-22 15:02 Agostino Sarubbo
2020-03-22 11:10 Agostino Sarubbo
2020-03-22 11:09 Agostino Sarubbo
2020-03-22 11:09 Agostino Sarubbo
2020-03-22 11:07 Agostino Sarubbo
2020-03-16 23:43 Sergei Trofimovich
2020-03-01 19:41 Sergei Trofimovich
2020-02-26 21:46 Sergei Trofimovich
2020-02-26 12:52 Sergei Trofimovich
2020-02-13 0:20 Sergei Trofimovich
2020-02-12 22:32 Sergei Trofimovich
2020-02-11 11:30 Agostino Sarubbo
2020-02-11 11:09 Agostino Sarubbo
2020-02-11 10:58 Agostino Sarubbo
2020-02-11 9:51 Agostino Sarubbo
2020-02-11 9:43 Agostino Sarubbo
2020-02-09 11:46 Sergei Trofimovich
2020-02-05 23:42 Sergei Trofimovich
2020-01-29 22:43 Sergei Trofimovich
2020-01-20 22:47 Sergei Trofimovich
2020-01-14 23:31 Sergei Trofimovich
2020-01-14 23:31 Sergei Trofimovich
2019-12-22 6:44 Ulrich Müller
2019-12-21 16:50 Sergei Trofimovich
2019-12-21 16:50 Sergei Trofimovich
2019-12-10 19:39 Sergei Trofimovich
2019-12-10 8:55 Agostino Sarubbo
2019-12-07 13:47 Sergei Trofimovich
2019-12-03 10:07 Agostino Sarubbo
2019-12-01 15:38 Thomas Deutschmann
2019-12-01 14:21 Agostino Sarubbo
2019-12-01 14:01 Sergei Trofimovich
2019-11-22 10:31 Sergei Trofimovich
2019-11-17 4:16 Matt Turner
2019-11-12 19:37 Sergei Trofimovich
2019-11-08 7:54 Sergei Trofimovich
2019-11-01 23:50 Sergei Trofimovich
2019-10-24 11:41 Agostino Sarubbo
2019-10-24 11:40 Agostino Sarubbo
2019-10-23 12:45 Agostino Sarubbo
2019-10-23 12:30 Agostino Sarubbo
2019-10-21 17:27 Sergei Trofimovich
2019-10-11 6:51 Sergei Trofimovich
2019-10-11 6:51 Sergei Trofimovich
2019-09-18 15:57 Hans de Graaff
2019-09-18 12:44 Hans de Graaff
2019-06-06 3:31 Aaron Bauman
2019-05-01 9:40 Fabian Groffen
2019-03-14 6:29 Patrick Lauer
2019-03-08 13:28 Anthony G. Basile
2019-03-03 16:44 Patrick Lauer
2019-02-18 6:44 Mikle Kolyada
2019-02-15 1:37 Thomas Deutschmann
2019-02-07 13:05 Mikle Kolyada
2019-02-02 21:17 Sergei Trofimovich
2019-02-01 20:00 Tobias Klausmann
2019-02-01 7:17 Sergei Trofimovich
2019-01-31 21:51 Sergei Trofimovich
2019-01-28 12:16 Mikle Kolyada
2019-01-27 11:05 Pacho Ramos
2018-10-30 10:25 Jeroen Roovers
2018-10-22 10:38 Jeroen Roovers
2018-09-20 17:08 Patrick Lauer
2018-09-18 6:58 Michał Górny
2018-09-17 19:12 Michał Górny
2018-08-08 15:21 Guilherme Amadio
2018-06-25 13:36 Tobias Klausmann
2018-06-17 10:21 Sergei Trofimovich
2018-05-27 15:33 Mikle Kolyada
2018-05-27 14:14 Thomas Deutschmann
2018-04-01 12:42 Pacho Ramos
2018-03-28 19:01 Pacho Ramos
2018-03-25 21:06 Aaron Bauman
2018-03-25 20:34 Aaron Bauman
2018-02-21 22:56 Sergei Trofimovich
2018-02-06 18:55 Thomas Deutschmann
2017-12-13 17:11 Patrick Lauer
2017-11-04 9:00 Jeroen Roovers
2017-11-03 16:15 Jeroen Roovers
2017-10-17 13:07 Jeroen Roovers
2017-10-16 15:57 Patrick Lauer
2017-07-18 10:54 Pacho Ramos
2017-07-18 10:54 Pacho Ramos
2017-07-18 10:54 Pacho Ramos
2017-07-18 8:26 Dirkjan Ochtman
2017-07-18 8:26 Dirkjan Ochtman
2017-05-27 23:00 Patrice Clement
2017-04-22 10:16 Dirkjan Ochtman
2017-04-22 10:16 Dirkjan Ochtman
2017-04-08 21:57 Patrice Clement
2017-01-25 13:26 Tobias Klausmann
2017-01-24 11:46 Agostino Sarubbo
2017-01-21 17:16 Agostino Sarubbo
2017-01-20 21:22 Dirkjan Ochtman
2016-09-24 8:52 Dirkjan Ochtman
2016-08-21 7:08 Dirkjan Ochtman
2016-08-21 7:07 Dirkjan Ochtman
2016-08-08 8:39 Andrew Savchenko
2016-07-13 16:23 Jeroen Roovers
2016-07-05 18:38 Dirkjan Ochtman
2016-06-11 16:44 Agostino Sarubbo
2016-06-01 15:10 Tobias Klausmann
2016-05-13 10:15 Dirkjan Ochtman
2016-04-13 16:46 Dirkjan Ochtman
2016-02-28 7:15 Matt Thode
2016-01-09 15:05 Dirkjan Ochtman
2015-10-25 11:51 Pacho Ramos
2015-09-22 5:40 Jeroen Roovers
2015-09-20 13:44 Julian Ospald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1530986520.0127244ce83b8b651456bfcc0401746714eb8761.patrick@gentoo \
--to=patrick@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox