summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2013-03-04 10:57:33 +0000
committerNaohiro Aota <naota@gentoo.org>2013-03-04 10:57:33 +0000
commitf46e8db2d5ae094fd77088877cfca491f90da225 (patch)
treecfcb2ce99a27c6b215dfa1a4fbdbe7a2e03f8037 /x11-terms/kterm
parentAdd a patch to scan ncurses pkg-config file. #459594 (diff)
downloadgentoo-2-f46e8db2d5ae094fd77088877cfca491f90da225.tar.gz
gentoo-2-f46e8db2d5ae094fd77088877cfca491f90da225.tar.bz2
gentoo-2-f46e8db2d5ae094fd77088877cfca491f90da225.zip
Add extra LDFLAGS to add ncurses pkg-config result. #459646
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'x11-terms/kterm')
-rw-r--r--x11-terms/kterm/ChangeLog5
-rw-r--r--x11-terms/kterm/kterm-6.2.0-r5.ebuild6
2 files changed, 8 insertions, 3 deletions
diff --git a/x11-terms/kterm/ChangeLog b/x11-terms/kterm/ChangeLog
index 390fe1cc00d0..085f3435fbc5 100644
--- a/x11-terms/kterm/ChangeLog
+++ b/x11-terms/kterm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-terms/kterm
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/ChangeLog,v 1.34 2013/01/04 15:45:02 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/ChangeLog,v 1.35 2013/03/04 10:57:33 naota Exp $
+
+ 04 Mar 2013; Naohiro Aota <naota@gentoo.org> kterm-6.2.0-r5.ebuild:
+ Add extra LDFLAGS to add ncurses pkg-config result. #459646
04 Jan 2013; Ulrich Müller <ulm@gentoo.org> kterm-6.2.0-r5.ebuild:
Fix LICENSE, see notices in source files, bug 448274.
diff --git a/x11-terms/kterm/kterm-6.2.0-r5.ebuild b/x11-terms/kterm/kterm-6.2.0-r5.ebuild
index 1d4cf2cfe0e5..87d49ed2b092 100644
--- a/x11-terms/kterm/kterm-6.2.0-r5.ebuild
+++ b/x11-terms/kterm/kterm-6.2.0-r5.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/x11-terms/kterm/kterm-6.2.0-r5.ebuild,v 1.10 2013/01/12 18:23:09 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/kterm-6.2.0-r5.ebuild,v 1.11 2013/03/04 10:57:33 naota Exp $
EAPI=4
@@ -44,8 +44,10 @@ src_prepare(){
}
src_compile(){
+ PKG_CONFIG=$(tc-getPKG_CONFIG)
xmkmf -a || die
- emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}" \
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \
+ LOCAL_LDFLAGS="${LDFLAGS} $($PKG_CONFIG --libs ncurses)" \
XAPPLOADDIR="${EPREFIX}"/usr/share/X11/app-defaults
}