summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2020-06-28 21:15:49 -0400
committerMichael Orlitzky <mjo@gentoo.org>2020-06-28 21:15:49 -0400
commitaf319b8e81df5bcc69b02155d97e905197dc15e4 (patch)
treec1081e4cf34b85cc236ef7b170426ef4c7a1828e /www-client/netsurf
parentsci-mathematics/pari: remove old pari-2.11.2.ebuild. (diff)
downloadgentoo-af319b8e81df5bcc69b02155d97e905197dc15e4.tar.gz
gentoo-af319b8e81df5bcc69b02155d97e905197dc15e4.tar.bz2
gentoo-af319b8e81df5bcc69b02155d97e905197dc15e4.zip
www-client/netsurf: fix build with USE=gtk2.
In the latest release, upstream switched around the names of the GTK targets to reflect that gtk3 is now default. This left the build broken with USE=gtk2, because (ALLEGEDLY) I never tested it. Sorry. Everything should be back to normal. Bug: https://bugs.gentoo.org/728994 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'www-client/netsurf')
-rw-r--r--www-client/netsurf/netsurf-3.10.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/www-client/netsurf/netsurf-3.10.ebuild b/www-client/netsurf/netsurf-3.10.ebuild
index ee8c48f41a89..a0070e82799d 100644
--- a/www-client/netsurf/netsurf-3.10.ebuild
+++ b/www-client/netsurf/netsurf-3.10.ebuild
@@ -98,7 +98,7 @@ _emake() {
src_compile() {
use fbcon && _emake TARGET=framebuffer
- use gtk2 && _emake TARGET=gtk
+ use gtk2 && _emake TARGET=gtk2
use gtk && _emake TARGET=gtk3
}
@@ -116,9 +116,9 @@ src_install() {
make_desktop_entry "${EPREFIX}"/usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser"
fi
if use gtk2 ; then
- _emake TARGET=gtk DESTDIR="${D}" install
- elog "netsurf gtk2 version has been installed as netsurf-gtk"
- make_desktop_entry "${EPREFIX}"/usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser"
+ _emake TARGET=gtk2 DESTDIR="${D}" install
+ elog "netsurf gtk2 version has been installed as netsurf-gtk2"
+ make_desktop_entry "${EPREFIX}"/usr/bin/netsurf-gtk2 NetSurf-gtk2 netsurf "Network;WebBrowser"
fi
if use gtk ; then
_emake TARGET=gtk3 DESTDIR="${D}" install