From 566610cadcfdacb10791986bb7f06726db56b1dc Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Wed, 27 Feb 2013 16:46:49 +0000 Subject: sci-libs/ccp4-libs: Use PKG_CONFIG instead of generic pkg-config (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 70EB7916) --- sci-libs/ccp4-libs/ChangeLog | 6 +++++- sci-libs/ccp4-libs/ccp4-libs-6.1.3-r11.ebuild | 4 +++- sci-libs/ccp4-libs/files/6.1.3-lapack.patch | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'sci-libs/ccp4-libs') diff --git a/sci-libs/ccp4-libs/ChangeLog b/sci-libs/ccp4-libs/ChangeLog index 4717531addc1..79b3660d3f39 100644 --- a/sci-libs/ccp4-libs/ChangeLog +++ b/sci-libs/ccp4-libs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/ccp4-libs # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccp4-libs/ChangeLog,v 1.53 2013/02/27 14:44:59 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccp4-libs/ChangeLog,v 1.54 2013/02/27 16:46:49 jlec Exp $ + + 27 Feb 2013; Justin Lecher files/6.1.3-lapack.patch, + ccp4-libs-6.1.3-r11.ebuild: + Use PKG_CONFIG instead of generic pkg-config 27 Feb 2013; Justin Lecher ccp4-libs-6.1.3-r11.ebuild: Add missing dep on virtual/pkgconfig; use tc-getPKG_CONFIG instead of generic diff --git a/sci-libs/ccp4-libs/ccp4-libs-6.1.3-r11.ebuild b/sci-libs/ccp4-libs/ccp4-libs-6.1.3-r11.ebuild index 0dcc6d9b665b..8abeed9c1921 100644 --- a/sci-libs/ccp4-libs/ccp4-libs-6.1.3-r11.ebuild +++ b/sci-libs/ccp4-libs/ccp4-libs-6.1.3-r11.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/sci-libs/ccp4-libs/ccp4-libs-6.1.3-r11.ebuild,v 1.9 2013/02/27 14:44:59 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccp4-libs/ccp4-libs-6.1.3-r11.ebuild,v 1.10 2013/02/27 16:46:49 jlec Exp $ EAPI=3 @@ -60,6 +60,8 @@ pkg_setup() { } src_prepare() { + tc-export PKG_CONFIG + einfo "Applying upstream patches ..." for patch in $(seq $PATCH_TOT); do base="PATCH${patch}" diff --git a/sci-libs/ccp4-libs/files/6.1.3-lapack.patch b/sci-libs/ccp4-libs/files/6.1.3-lapack.patch index 2514733f876d..0463b3719525 100644 --- a/sci-libs/ccp4-libs/files/6.1.3-lapack.patch +++ b/sci-libs/ccp4-libs/files/6.1.3-lapack.patch @@ -567,10 +567,10 @@ index 833f483..bcfa62d 100755 + # gentoo is clever + make_blas= + make_lapack= -+ BLASLIB=$(pkg-config --libs lapack) -+ LAPACKLIB=$(pkg-config --libs lapack) ++ BLASLIB=$(${PKG_CONFIG} --libs lapack) ++ LAPACKLIB=$(${PKG_CONFIG} --libs lapack) + XLAPACK_LIB="${BLASLIB} ${LAPACKLIB}" -+ XFFLAGS_LAPACK="$(pkg-config --cflags lapack blas)" ++ XFFLAGS_LAPACK="$(${PKG_CONFIG} --cflags lapack blas)" # Otherwise force building of NetLib BLAS and LAPACK libs - else - echo -- cgit v1.2.3-65-gdbad