From: Andreas K. Hüttel Date: Thu, 16 Feb 2017 23:43:27 +0000 (+0100) Subject: net-print/mtink: Make build without X / Motif possible again, bug 514646 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c3ad9c7d332cf5cf495ba28c6f1ea3bd43a0a1a;p=gentoo.git net-print/mtink: Make build without X / Motif possible again, bug 514646 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- 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() {