From 9c3ad9c7d332cf5cf495ba28c6f1ea3bd43a0a1a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Fri, 17 Feb 2017 00:43:27 +0100 Subject: [PATCH] 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 4aef896823df..d4ae19a6c84f 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 8261d64867a0..6e87ae688598 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() { -- 2.26.2