app-editors/emacs-vcs: Add gmp USE flag, enabled by default.
authorUlrich Müller <ulm@gentoo.org>
Thu, 16 Aug 2018 07:30:04 +0000 (09:30 +0200)
committerUlrich Müller <ulm@gentoo.org>
Thu, 16 Aug 2018 07:30:04 +0000 (09:30 +0200)
Package-Manager: Portage-2.3.46, Repoman-2.3.10

app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild

index ee8f5f2ac3c2001191808080ffd925950c89b3fc..2fef204a39064fbddc4e2883c628fe6d1f2dcc16 100644 (file)
@@ -28,7 +28,7 @@ HOMEPAGE="https://www.gnu.org/software/emacs/"
 
 LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
 SLOT="27"
-IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads 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 +gmp gpm gsettings gtk +gtk3 gzip-el imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
 REQUIRED_USE="?? ( aqua X )"
 RESTRICT="test"
 
@@ -38,6 +38,7 @@ RDEPEND="sys-libs/ncurses:0=
        acl? ( virtual/acl )
        alsa? ( media-libs/alsa-lib )
        dbus? ( sys-apps/dbus )
+       gmp? ( dev-libs/gmp:0= )
        gpm? ( sys-libs/gpm )
        !inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
        json? ( dev-libs/jansson )
@@ -174,6 +175,7 @@ src_configure() {
        if use X; then
                myconf+=" --with-x --without-ns"
                myconf+=" $(use_with gconf)"
+               myconf+=" $(use_with gmp libgmp)"
                myconf+=" $(use_with gsettings)"
                myconf+=" $(use_with toolkit-scroll-bars)"
                myconf+=" $(use_with gif)"