From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4A2CA138334 for ; Thu, 20 Sep 2018 11:43:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D08ABE08E2; Thu, 20 Sep 2018 11:43:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DF9EE08E2 for ; Thu, 20 Sep 2018 11:43:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25798335CA7 for ; Thu, 20 Sep 2018 11:43:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED91F3C3 for ; Thu, 20 Sep 2018 11:43:12 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1537443735.3b027f1548261c8296c0964529204b66f8577494.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/mgetty/mgetty-1.2.1.ebuild X-VCS-Directories: net-dialup/mgetty/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 3b027f1548261c8296c0964529204b66f8577494 X-VCS-Branch: master Date: Thu, 20 Sep 2018 11:43:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f76fa9e6-500c-4c05-92de-741089abbb4d X-Archives-Hash: 0285ebe5acb53a4a4601bf23854f8604 commit: 3b027f1548261c8296c0964529204b66f8577494 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Sep 20 11:41:52 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Sep 20 11:42:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b027f15 net-dialup/mgetty: Drop USE=doc, fix parallel make Package-Manager: Portage-2.3.49, Repoman-2.3.10 Fixes: https://bugs.gentoo.org/299421 net-dialup/mgetty/mgetty-1.2.1.ebuild | 37 +++++++++++++---------------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild b/net-dialup/mgetty/mgetty-1.2.1.ebuild index a62a5460aee..722dd95e2c0 100644 --- a/net-dialup/mgetty/mgetty-1.2.1.ebuild +++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild @@ -9,7 +9,6 @@ HOMEPAGE="http://mgetty.greenie.net/" SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/1.2/${P}.tar.gz" DEPEND=" - doc? ( virtual/latex-base virtual/texi2dvi ) >=sys-apps/sed-4 sys-apps/groff dev-lang/perl @@ -27,7 +26,7 @@ RDEPEND="${DEPEND} SLOT="0" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="doc +fax fidonet" +IUSE="+fax fidonet" pkg_setup() { enewgroup fax @@ -55,12 +54,6 @@ src_prepare() { sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi mgetty.ps/mgetty.info/" \ -i doc/Makefile || die 'first sed on doc/Makefile failed' - if use doc; then - sed -i \ - -e "s/^doc-all:/doc-all: mgetty.ps/" \ - -e "s/^all:/all: doc-all/" \ - doc/Makefile || die 'second sed on doc/Makefile failed' - fi sed -i \ -e 's:^CC=:CC?=:g' \ @@ -75,6 +68,8 @@ src_prepare() { src_configure() { tc-export AR CC RANLIB + use fidonet && append-cppflags "-DFIDO" + append-cppflags "-DAUTO_PPP" sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \ -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \ @@ -89,21 +84,21 @@ src_configure() { } src_compile() { - use fidonet && append-cppflags "-DFIDO" - append-cppflags "-DAUTO_PPP" - # bug #299421 - VARTEXFONTS="${T}"/fonts emake -j1 prefix=/usr \ - CONFDIR=/etc/mgetty+sendfax \ - CFLAGS="${CFLAGS} ${CPPFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - all vgetty + local target + for target in mgetty sedscript all vgetty;do + VARTEXFONTS="${T}"/fonts emake prefix=/usr \ + CONFDIR=/etc/mgetty+sendfax \ + CFLAGS="${CFLAGS} ${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + ${target} + done } src_install () { # parallelization issue: vgetty-install target fails if install target # isn't finished - local targets - for targets in install "vgetty-install install-callback"; do + local target + for target in install "vgetty-install install-callback"; do emake prefix="${D}/usr" \ INFODIR="${D}/usr/share/info" \ CONFDIR="${D}/etc/mgetty+sendfax" \ @@ -117,7 +112,7 @@ src_install () { PHONE_GROUP=fax \ PHONE_PERMS=755 \ spool="${D}/var/spool" \ - ${targets} + ${target} done keepdir /var/log/mgetty @@ -136,10 +131,6 @@ src_install () { docinto vgetty dodoc voice/{Readme,Announce,ChangeLog,Credits} - if use doc; then - dodoc doc/mgetty.ps - fi - docinto vgetty/doc dodoc voice/doc/*