summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2015-08-10 22:38:04 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2015-08-10 22:38:17 +0100
commitc28cf799ee244b6b75999924f1d04cff9060f58d (patch)
treed5d442c20fad5b65c1ec7867004bb34e41e5aa35 /www-client/netsurf/netsurf-3.3-r1.ebuild
parentwww-client/netsurf: tweak elog to mention /dev, not /etc, bug #552562 (diff)
downloadgentoo-c28cf799ee244b6b75999924f1d04cff9060f58d.tar.gz
gentoo-c28cf799ee244b6b75999924f1d04cff9060f58d.tar.bz2
gentoo-c28cf799ee244b6b75999924f1d04cff9060f58d.zip
www-client/netsurf: fix 'src_install' failure, bug #552562
- do not drop _BSD_SOURCE define as 'timeradd' is defined only under _BSD_SOURCE on old glibc - use nullglob when we install single binary, bug #552562 by Anthony Parsons, w0rm and others. Package-Manager: portage-2.2.20
Diffstat (limited to 'www-client/netsurf/netsurf-3.3-r1.ebuild')
-rw-r--r--www-client/netsurf/netsurf-3.3-r1.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/www-client/netsurf/netsurf-3.3-r1.ebuild b/www-client/netsurf/netsurf-3.3-r1.ebuild
index 6d3298151e0..8e7d6a692c4 100644
--- a/www-client/netsurf/netsurf-3.3-r1.ebuild
+++ b/www-client/netsurf/netsurf-3.3-r1.ebuild
@@ -119,7 +119,11 @@ src_install() {
netsurf_src_install
elog "framebuffer binary has been installed as netsurf-fb"
pushd "${ED}"usr/bin >/dev/null || die
- for f in netsurf{,.*} ; do
+ eshopts_push -s nullglob
+ # bug 552562
+ local binaries=(netsurf{,.*})
+ eshopts_pop
+ for f in "${binaries[@]}" ; do
mv -v $f ${f/netsurf/netsurf-fb} || die
make_desktop_entry "${EROOT}"usr/bin/${f/netsurf/netsurf-fb} NetSurf-framebuffer${f/netsurf} netsurf "Network;WebBrowser"
done
@@ -134,7 +138,11 @@ src_install() {
netsurf_src_install
elog "netsurf gtk version has been installed as netsurf-gtk"
pushd "${ED}"usr/bin >/dev/null || die
- for f in netsurf{,.*} ; do
+ eshopts_push -s nullglob
+ # bug 552562
+ local binaries=(netsurf{,.*})
+ eshopts_pop
+ for f in "${binaries[@]}" ; do
mv -v $f ${f/netsurf/netsurf-gtk} || die
make_desktop_entry "${EROOT}"usr/bin/${f/netsurf/netsurf-gtk} NetSurf-gtk${f/netsurf} netsurf "Network;WebBrowser"
done