net-print/mtink: Make build without X / Motif possible again, bug 514646
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Thu, 16 Feb 2017 23:43:27 +0000 (00:43 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Thu, 16 Feb 2017 23:43:48 +0000 (00:43 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-print/mtink/mtink-1.0.16-r1.ebuild
net-print/mtink/mtink-1.0.16-r2.ebuild

index 4aef896823df8867632451bb4cf4606e02497ae0..d4ae19a6c84fb1204533addf9ccb2760c80eb3ce 100644 (file)
@@ -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() {
index 8261d64867a0aa99cd075b434aa17c3fea6b9689..6e87ae6885986d68e0930bd84799f34219475757 100644 (file)
@@ -27,7 +27,11 @@ PATCHES=(
 )
 
 src_configure() {
-       ./Configure || die
+       if use X ; then
+               ./Configure || die
+       else
+               ./Configure -x || die
+       fi
 }
 
 src_compile() {