summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-11-16 16:01:14 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-11-16 16:01:14 +0000
commite66f62d2f8028d9601c2cbc67a44aeea98f74cf9 (patch)
tree3be9d93212ca7238cc150808039d30c90ba6960b /app-crypt/pinentry
parentRestore dynamic linking of Cabal's ./setup and add building of shared librari... (diff)
downloadgentoo-2-e66f62d2f8028d9601c2cbc67a44aeea98f74cf9.tar.gz
gentoo-2-e66f62d2f8028d9601c2cbc67a44aeea98f74cf9.tar.bz2
gentoo-2-e66f62d2f8028d9601c2cbc67a44aeea98f74cf9.zip
Try to fix building with static useflag enabled
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'app-crypt/pinentry')
-rw-r--r--app-crypt/pinentry/ChangeLog5
-rw-r--r--app-crypt/pinentry/pinentry-0.8.2.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/app-crypt/pinentry/ChangeLog b/app-crypt/pinentry/ChangeLog
index 4ae363623405..4c8fc29ba02b 100644
--- a/app-crypt/pinentry/ChangeLog
+++ b/app-crypt/pinentry/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-crypt/pinentry
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.129 2012/11/16 14:41:37 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.130 2012/11/16 16:01:14 scarabeus Exp $
+
+ 16 Nov 2012; Tomáš Chvátal <scarabeus@gentoo.org> pinentry-0.8.2.ebuild:
+ Try to fix building with static useflag enabled
16 Nov 2012; Tomáš Chvátal <scarabeus@gentoo.org> pinentry-0.8.2.ebuild:
Bump eapi in the ebuild and solve the log message print. Wrt bug#440540.
diff --git a/app-crypt/pinentry/pinentry-0.8.2.ebuild b/app-crypt/pinentry/pinentry-0.8.2.ebuild
index d8ba6ebb9eb3..2308ea78fd34 100644
--- a/app-crypt/pinentry/pinentry-0.8.2.ebuild
+++ b/app-crypt/pinentry/pinentry-0.8.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.3 2012/11/16 14:41:37 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.4 2012/11/16 16:01:14 scarabeus Exp $
EAPI=5
@@ -46,7 +46,10 @@ src_prepare() {
}
src_configure() {
- use static && append-ldflags -static
+ if use static; then
+ append-ldflags -static
+ append-libs -ldl
+ fi
# Issues finding qt on multilib systems
export QTLIB="${QTDIR}/$(get_libdir)"