From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 791E7139694 for ; Tue, 6 Jun 2017 04:12:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA17AE0BF0; Tue, 6 Jun 2017 04:12:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A10D0E0BF0 for ; Tue, 6 Jun 2017 04:12:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B6CC3416F0 for ; Tue, 6 Jun 2017 04:12:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3F147471 for ; Tue, 6 Jun 2017 04:12:05 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1496722285.efaa7c2a861a79513bd80d95d773a8bd6752ba1e.heroxbd@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/numeric.eclass X-VCS-Directories: eclass/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: efaa7c2a861a79513bd80d95d773a8bd6752ba1e X-VCS-Branch: master Date: Tue, 6 Jun 2017 04:12:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f5b55197-79b4-4536-9c3a-d7762eb12237 X-Archives-Hash: f5997eda9e080cda35f800229a819851 commit: efaa7c2a861a79513bd80d95d773a8bd6752ba1e Author: Benda Xu gentoo org> AuthorDate: Tue Jun 6 04:01:34 2017 +0000 Commit: Benda XU gentoo org> CommitDate: Tue Jun 6 04:11:25 2017 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=efaa7c2a numeric.eclass: use var reference in Libs and Cflags. Closes: https://github.com/gentoo/sci/issues/709 eclass/numeric.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/numeric.eclass b/eclass/numeric.eclass index ec890c5bf..cb7354542 100644 --- a/eclass/numeric.eclass +++ b/eclass/numeric.eclass @@ -125,9 +125,9 @@ create_pkgconfig() { Requires: ${pcrequires} Requires.private: ${pcrequirespriv} Conflicts: ${pcconflicts} - Libs: -L"${pclibdir}" ${pclibs} + Libs: -L\${libdir} ${pclibs} Libs.private: ${pclibspriv} - Cflags: -I"${pcincldir}" ${pccflags} + Cflags: -I\${includedir} ${pccflags} EOF insinto /usr/$(get_libdir)/pkgconfig