mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
net-misc/mico: Drop USE=qt4 from live ebuild as well
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
@@ -27,7 +27,7 @@ HOMEPAGE="http://www.mico.org/"
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="gtk postgres qt4 ssl tcl threads X"
|
||||
IUSE="gtk postgres ssl tcl threads X"
|
||||
RESTRICT="test" #298101
|
||||
|
||||
# doesn't compile:
|
||||
@@ -36,7 +36,6 @@ RESTRICT="test" #298101
|
||||
RDEPEND="
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
qt4? ( dev-qt/qtgui:4[qt3support] )
|
||||
ssl? ( dev-libs/openssl:* )
|
||||
tcl? ( dev-lang/tcl:0 )
|
||||
X? ( x11-libs/libXt )
|
||||
@@ -65,11 +64,6 @@ src_prepare() {
|
||||
# This assumes that the compiler (or -wrapper) uses
|
||||
# gcc flag '-mminimal-toc' for compilation.
|
||||
sed -i -e 's/,-bbigtoc//' "${S}"/configure || die
|
||||
|
||||
if use qt4; then
|
||||
sed -i -e "s, -lqt\", $(pkg-config --libs Qt3Support)\"," configure ||
|
||||
die "cannot update to use Qt3Support of qt4"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -84,9 +78,6 @@ src_configure() {
|
||||
# to disable openssl utilization seems to override the configure check.
|
||||
use ssl || export ac_cv_lib_ssl_open=no
|
||||
|
||||
# CFLAGS aren't used when checking for <qapplication.h>, but CPPFLAGS are.
|
||||
use qt4 && append-cppflags $(pkg-config --cflags Qt3Support)
|
||||
|
||||
local myconf=
|
||||
myconf() {
|
||||
myconf="${myconf} $*"
|
||||
@@ -99,7 +90,6 @@ src_configure() {
|
||||
# the value needs to be empty instead.
|
||||
# This applies to: pgsql, qt, tcl, bluetooth.
|
||||
myconf --with-pgsql=$(use postgres && echo "${EPREFIX}"/usr)
|
||||
myconf --with-qt=$( use qt4 && echo "${EPREFIX}"/usr)
|
||||
myconf --with-tcl=$( use tcl && echo "${EPREFIX}"/usr)
|
||||
# bluetooth and wireless both don't compile cleanly
|
||||
myconf --with-bluetooth=''
|
||||
|
||||
Reference in New Issue
Block a user