summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2016-08-11 16:11:12 +0200
committerDavid Seifert <soap@gentoo.org>2016-08-11 19:18:36 +0200
commit256a394606b6ace12bd42fecfc542f277b525473 (patch)
tree965a587e1e453f65a46be8462988afc61736de0c /sci-libs/metis
parentmedia-gfx/photoqt: remove old (diff)
downloadgentoo-256a394606b6ace12bd42fecfc542f277b525473.tar.gz
gentoo-256a394606b6ace12bd42fecfc542f277b525473.tar.bz2
gentoo-256a394606b6ace12bd42fecfc542f277b525473.zip
sci-libs/metis: Produce standard pkg-config file
Gentoo-bug: 588148 Package-Manager: portage-2.2.28 Patch by Viacheslav Ostroukh Closes: https://github.com/gentoo/gentoo/pull/2069 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/metis')
-rw-r--r--sci-libs/metis/metis-5.1.0-r2.ebuild (renamed from sci-libs/metis/metis-5.1.0-r1.ebuild)14
1 files changed, 7 insertions, 7 deletions
diff --git a/sci-libs/metis/metis-5.1.0-r1.ebuild b/sci-libs/metis/metis-5.1.0-r2.ebuild
index 5cc2910fa3ab..c91b246df85d 100644
--- a/sci-libs/metis/metis-5.1.0-r1.ebuild
+++ b/sci-libs/metis/metis-5.1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -55,16 +55,16 @@ src_test() {
src_install() {
cat >> "${T}"/metis.pc <<- EOF
- prefix="${EPREFIX}"/usr
- exec_prefix="${EPREFIX}"/usr
- libdir="${EPREFIX}"/usr/$(get_libdir)
- includedir="${EPREFIX}"/usr/include
+ prefix=${EPREFIX}/usr
+ exec_prefix=\${prefix}
+ libdir=\${exec_prefix}/$(get_libdir)
+ includedir=\${prefix}/include
Name: METIS
Description: Software for partioning unstructured graphes and meshes
Version: ${PV}
- Libs: -L${libdir} -lmetis
- Cflags: -I${includedir}/metis
+ Cflags: -I\${includedir}/metis
+ Libs: -L\${libdir} -lmetis
EOF
insinto /usr/$(get_libdir)/pkgconfig