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 47A4F139694 for ; Thu, 16 Feb 2017 23:44:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3749F21C08B; Thu, 16 Feb 2017 23:43:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 155EC21C08B for ; Thu, 16 Feb 2017 23:43:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE0183409C1 for ; Thu, 16 Feb 2017 23:43:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23AC44A57 for ; Thu, 16 Feb 2017 23:43:55 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1487288628.9c3ad9c7d332cf5cf495ba28c6f1ea3bd43a0a1a.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/mtink/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-print/mtink/mtink-1.0.16-r1.ebuild net-print/mtink/mtink-1.0.16-r2.ebuild X-VCS-Directories: net-print/mtink/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: 9c3ad9c7d332cf5cf495ba28c6f1ea3bd43a0a1a X-VCS-Branch: master Date: Thu, 16 Feb 2017 23:43:55 +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: 02580439-6f67-45bf-ae4c-a46d238a7e58 X-Archives-Hash: 3d1840bece3e3b66d927f9b18a2a923a commit: 9c3ad9c7d332cf5cf495ba28c6f1ea3bd43a0a1a Author: Andreas K. Hüttel gentoo org> AuthorDate: Thu Feb 16 23:43:27 2017 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Thu Feb 16 23:43:48 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c3ad9c7 net-print/mtink: Make build without X / Motif possible again, bug 514646 Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-print/mtink/mtink-1.0.16-r1.ebuild | 8 ++++++-- net-print/mtink/mtink-1.0.16-r2.ebuild | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/net-print/mtink/mtink-1.0.16-r1.ebuild b/net-print/mtink/mtink-1.0.16-r1.ebuild index 4aef896823..d4ae19a6c8 100644 --- a/net-print/mtink/mtink-1.0.16-r1.ebuild +++ b/net-print/mtink/mtink-1.0.16-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -28,7 +28,11 @@ PATCHES=( ) src_configure() { - ./Configure || die + if use X ; then + ./Configure || die + else + ./Configure -x || die + fi } src_compile() { diff --git a/net-print/mtink/mtink-1.0.16-r2.ebuild b/net-print/mtink/mtink-1.0.16-r2.ebuild index 8261d64867..6e87ae6885 100644 --- a/net-print/mtink/mtink-1.0.16-r2.ebuild +++ b/net-print/mtink/mtink-1.0.16-r2.ebuild @@ -27,7 +27,11 @@ PATCHES=( ) src_configure() { - ./Configure || die + if use X ; then + ./Configure || die + else + ./Configure -x || die + fi } src_compile() {