commit:     1ca1dc86d1b98f8f042c59f64ea59f09427510e4
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 08:19:35 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 23:13:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca1dc86

app-editors/emacs-vcs: Add dynamic-loading USE flag.

This will enable loading of dynamic libraries at runtime. Based on
patch submitted by Steven Cordwell <steven.cordwell <AT> uqconnect.edu.au>.

Bug: 608382

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-editors/emacs-vcs/emacs-vcs-25.1.91.ebuild   | 3 ++-
 app-editors/emacs-vcs/emacs-vcs-25.2.9999.ebuild | 3 ++-
 app-editors/emacs-vcs/emacs-vcs-26.0.9999.ebuild | 3 ++-
 app-editors/emacs-vcs/metadata.xml               | 2 ++
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/app-editors/emacs-vcs/emacs-vcs-25.1.91.ebuild 
b/app-editors/emacs-vcs/emacs-vcs-25.1.91.ebuild
index eeb4f3ff9d..ee088dfbf9 100644
--- a/app-editors/emacs-vcs/emacs-vcs-25.1.91.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-25.1.91.ebuild
@@ -29,7 +29,7 @@ HOMEPAGE="https://www.gnu.org/software/emacs/";
 
 LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
 SLOT="25"
-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=
@@ -236,6 +236,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) \

diff --git a/app-editors/emacs-vcs/emacs-vcs-25.2.9999.ebuild 
b/app-editors/emacs-vcs/emacs-vcs-25.2.9999.ebuild
index e0c06443e0..8adfe0fcec 100644
--- a/app-editors/emacs-vcs/emacs-vcs-25.2.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-25.2.9999.ebuild
@@ -29,7 +29,7 @@ HOMEPAGE="https://www.gnu.org/software/emacs/";
 
 LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
 SLOT="25"
-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=
@@ -239,6 +239,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) \

diff --git a/app-editors/emacs-vcs/emacs-vcs-26.0.9999.ebuild 
b/app-editors/emacs-vcs/emacs-vcs-26.0.9999.ebuild
index 3f8a8edba2..cda59d64ca 100644
--- a/app-editors/emacs-vcs/emacs-vcs-26.0.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-26.0.9999.ebuild
@@ -29,7 +29,7 @@ HOMEPAGE="https://www.gnu.org/software/emacs/";
 
 LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
 SLOT="26"
-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=
@@ -238,6 +238,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) \

diff --git a/app-editors/emacs-vcs/metadata.xml 
b/app-editors/emacs-vcs/metadata.xml
index a42a18a961..61b8821783 100644
--- a/app-editors/emacs-vcs/metadata.xml
+++ b/app-editors/emacs-vcs/metadata.xml
@@ -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>

Reply via email to