diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-01-16 11:58:03 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-01-16 12:04:05 -0500 |
commit | da31ca138ee6cba623e1a029cd9cced09075d5ec (patch) | |
tree | d76374a368e764205f7e4bc80381ea297862e2c5 /net-misc | |
parent | net-misc/wget: don't install sample config twice (diff) | |
download | gentoo-da31ca138ee6cba623e1a029cd9cced09075d5ec.tar.gz gentoo-da31ca138ee6cba623e1a029cd9cced09075d5ec.tar.bz2 gentoo-da31ca138ee6cba623e1a029cd9cced09075d5ec.zip |
net-misc/wget: simplify hack in src_prepare
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/wget/wget-1.21.2.ebuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/net-misc/wget/wget-1.21.2.ebuild b/net-misc/wget/wget-1.21.2.ebuild index 9d3077c2029a..5188493fdfcb 100644 --- a/net-misc/wget/wget-1.21.2.ebuild +++ b/net-misc/wget/wget-1.21.2.ebuild @@ -59,14 +59,11 @@ src_prepare() { default # revert some hack that breaks linking, bug #585924 - if [[ ${CHOST} == *-darwin* ]] \ - || [[ ${CHOST} == *-solaris* ]] \ - || [[ ${CHOST} == *-cygwin* ]] \ - ; then - sed -i \ - -e 's/^ LIBICONV=$/:/' \ - configure || die - fi + case ${CHOST} in + *-darwin*|*-solaris*|*-cygwin*) + sed -i -e 's/^ LIBICONV=$/:/' configure || die + ;; + esac sed -i -e "s:/usr/local/etc:${EPREFIX}/etc:g" doc/{sample.wgetrc,wget.texi} || die } |