app-editors/emacs: Add dynamic-loading USE flag.
authorUlrich Müller <ulm@gentoo.org>
Thu, 9 Feb 2017 08:18:20 +0000 (09:18 +0100)
committerUlrich Müller <ulm@gentoo.org>
Thu, 9 Feb 2017 23:13:23 +0000 (00:13 +0100)
This will enable loading of dynamic libraries at runtime. Based on
patch submitted by Steven Cordwell <steven.cordwell@uqconnect.edu.au>.

Bug: 608382

Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-editors/emacs/emacs-25.1.ebuild
app-editors/emacs/emacs-25.2_rc1.ebuild
app-editors/emacs/metadata.xml

index ad64c61bb6c9a6c118e1c6de46e913c24808dfff..b18f6a40c2424f6b26b2731ba12f0876aa796dae 100644 (file)
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/emacs/${P}.tar.xz"
 LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
 SLOT="25"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
+IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
 REQUIRED_USE="?? ( aqua X )"
 
 RDEPEND="sys-libs/ncurses:0=
@@ -212,6 +212,7 @@ src_configure() {
                --with-file-notification=$(usev inotify || usev gfile || echo no) \
                $(use_enable acl) \
                $(use_with dbus) \
+               $(use_with dynamic-loading modules) \
                $(use_with gpm) \
                $(use_with hesiod) \
                $(use_with kerberos) $(use_with kerberos kerberos5) \
index 33cf9c6a7cb56f0fc918f7bad5cf681f7e67cc91..0c20a64e9b30d5eef021b4a72f4df7f2279a80a9 100644 (file)
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu-alpha/emacs/pretest/emacs-${PV/_/-}.tar.xz"
 LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
 SLOT="25"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
+IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
 REQUIRED_USE="?? ( aqua X )"
 
 RDEPEND="sys-libs/ncurses:0=
@@ -212,6 +212,7 @@ src_configure() {
                --with-file-notification=$(usev inotify || usev gfile || echo no) \
                $(use_enable acl) \
                $(use_with dbus) \
+               $(use_with dynamic-loading modules) \
                $(use_with gpm) \
                $(use_with hesiod) \
                $(use_with kerberos) $(use_with kerberos kerberos5) \
index a42a18a961cf523b9ffa0f17ea5108182ed0110d..61b88217833d25d900ba4ebee6db2a645f3b1431 100644 (file)
@@ -22,6 +22,8 @@
 <use>
   <flag name="athena">Enable the MIT Athena widget set
     (<pkg>x11-libs/libXaw</pkg>)</flag>
+  <flag name="dynamic-loading">Enable loading of dynamic libraries at
+    runtime</flag>
   <flag name="games">Support shared score files for games</flag>
   <flag name="gconf">Use <pkg>gnome-base/gconf</pkg> to read the system
     font name</flag>