summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2013-12-27 19:09:33 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2013-12-27 19:09:33 +0000
commit91dd69c3fb28eb4d416d97fc54890ad060a66ec3 (patch)
treed475fea1c11337537dfdfa25a0894afb36399742 /app-crypt
parentVersion bump to 7.3.0. (diff)
downloadgentoo-2-91dd69c3fb28eb4d416d97fc54890ad060a66ec3.tar.gz
gentoo-2-91dd69c3fb28eb4d416d97fc54890ad060a66ec3.tar.bz2
gentoo-2-91dd69c3fb28eb4d416d97fc54890ad060a66ec3.zip
Fix aix build, bug#493384, thanks to Michael Haubenwallner
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/pinentry/ChangeLog5
-rw-r--r--app-crypt/pinentry/pinentry-0.8.3.ebuild9
2 files changed, 12 insertions, 2 deletions
diff --git a/app-crypt/pinentry/ChangeLog b/app-crypt/pinentry/ChangeLog
index 1351d6d1cc58..a6031b3c9271 100644
--- a/app-crypt/pinentry/ChangeLog
+++ b/app-crypt/pinentry/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-crypt/pinentry
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.148 2013/11/06 21:45:32 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.149 2013/12/27 19:09:33 alonbl Exp $
+
+ 27 Dec 2013; Alon Bar-Lev <alonbl@gentoo.org> pinentry-0.8.3.ebuild:
+ Fix aix build, bug#493384, thanks to Michael Haubenwallner
06 Nov 2013; Alon Bar-Lev <alonbl@gentoo.org> pinentry-0.8.2.ebuild,
pinentry-0.8.3.ebuild:
diff --git a/app-crypt/pinentry/pinentry-0.8.3.ebuild b/app-crypt/pinentry/pinentry-0.8.3.ebuild
index b4320ce55f70..f3a6966bc612 100644
--- a/app-crypt/pinentry/pinentry-0.8.3.ebuild
+++ b/app-crypt/pinentry/pinentry-0.8.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.3.ebuild,v 1.2 2013/11/06 21:45:32 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.3.ebuild,v 1.3 2013/12/27 19:09:33 alonbl Exp $
EAPI=5
@@ -27,6 +27,7 @@ DEPEND="${RDEPEND}
sys-devel/gettext
gtk? ( virtual/pkgconfig )
qt4? ( virtual/pkgconfig )
+ ppc-aix? ( dev-libs/gnulib )
"
REQUIRED_USE="
|| ( ncurses gtk qt4 )
@@ -53,6 +54,12 @@ src_prepare() {
src_configure() {
use static && append-ldflags -static
+ if [[ ${CHOST} == *-aix* ]] ; then
+ append-flags -I"${EPREFIX}/usr/$(get_libdir)/gnulib/include"
+ append-ldflags -L"${EPREFIX}/usr/$(get_libdir)/gnulib/$(get_libdir)"
+ append-libs -lgnu
+ fi
+
# Issues finding qt on multilib systems
export QTLIB="${QTDIR}/$(get_libdir)"