x11-libs/motif: use HTTPS, add missing die.
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Wed, 6 Feb 2019 17:32:54 +0000 (18:32 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 6 Feb 2019 22:37:51 +0000 (23:37 +0100)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10992
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
x11-libs/motif/motif-2.3.8-r1.ebuild

index 2258ff7c47cc5b4a856b66530be1ec9647ba2a00..4c9e39515e16c99d801913a4f0e2b5c17bde840c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,7 @@ inherit autotools flag-o-matic multilib toolchain-funcs multilib-minimal
 
 DESCRIPTION="The Motif user interface component toolkit"
 HOMEPAGE="https://sourceforge.net/projects/motif/
-       http://motif.ics.com/"
+       https://motif.ics.com/"
 SRC_URI="mirror://sourceforge/project/motif/Motif%20${PV}%20Source%20Code/${P}.tar.gz
        https://dev.gentoo.org/~ulm/distfiles/${PN}-2.3.6-patches-2.tar.xz"
 
@@ -39,10 +39,10 @@ src_prepare() {
        eapply_user
 
        # disable compilation of demo binaries
-       sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/[ \t\n\\]*demos//;}' Makefile.am
+       sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/[ \t\n\\]*demos//;}' Makefile.am || die
 
        # add X.Org vendor string to aliases for virtual bindings
-       echo -e '"The X.Org Foundation"\t\t\t\t\tpc' >>bindings/xmbind.alias
+       echo -e '"The X.Org Foundation"\t\t\t\t\tpc' >>bindings/xmbind.alias || die
 
        AT_M4DIR=. eautoreconf
 
@@ -108,7 +108,7 @@ multilib_src_install_all() {
        newins "${FILESDIR}"/Mwm.defaults Mwm
 
        # cleanup
-       rm -rf "${ED}"/usr/share/Xm
+       rm -rf "${ED}"/usr/share/Xm || die
        find "${D}" -type f -name "*.la" -delete || die
 
        dodoc BUGREPORT ChangeLog README RELEASE RELNOTES TODO