diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-02-17 00:43:27 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-02-17 00:43:48 +0100 |
commit | 9c3ad9c7d332cf5cf495ba28c6f1ea3bd43a0a1a (patch) | |
tree | 184d017b15bf3975fe48da5f5e3a9dd9f5033814 /net-print/mtink | |
parent | sys-block/di: ppc64 stable (bug 609230). (diff) | |
download | gentoo-9c3ad9c7d332cf5cf495ba28c6f1ea3bd43a0a1a.tar.gz gentoo-9c3ad9c7d332cf5cf495ba28c6f1ea3bd43a0a1a.tar.bz2 gentoo-9c3ad9c7d332cf5cf495ba28c6f1ea3bd43a0a1a.zip |
net-print/mtink: Make build without X / Motif possible again, bug 514646
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-print/mtink')
-rw-r--r-- | net-print/mtink/mtink-1.0.16-r1.ebuild | 8 | ||||
-rw-r--r-- | 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() { |