[lapack] 05/10: d/rules: fix variable substitution in *.pc files.

Sébastien Villemot sebastien at debian.org
Sun Jun 26 18:21:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository lapack.

commit 201c8ec19aebe8b1bc3a3d47d5a5c9adde8ccf3f
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Sun Jun 26 14:05:19 2016 +0200

    d/rules: fix variable substitution in *.pc files.
---
 debian/rules | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 1116f82..491c82f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,8 +77,8 @@ override_dh_auto_clean: make.inc
 override_dh_auto_configure: make.inc
 	# Create lapack-netlib.pc
 	sed -e "s%@LAPACK_VERSION@%$(DEB_VERSION_UPSTREAM)%" \
-	    -e "s%@prefix@%/usr%"  \
-	    -e "s%@libdir@%/usr/lib%" < lapack.pc.in > lapack-netlib.pc
+	    -e "s%@CMAKE_INSTALL_PREFIX@%/usr%"  \
+	    -e "s%@CMAKE_INSTALL_LIBDIR@%lib%" < lapack.pc.in > lapack-netlib.pc
 
 	# Create lapacke.pc
 	sed -e "s%@LAPACK_VERSION@%$(DEB_VERSION_UPSTREAM)%" \
@@ -87,8 +87,8 @@ override_dh_auto_configure: make.inc
 
 	# Create blas-netlib.pc
 	sed -e "s%@LAPACK_VERSION@%$(DEB_VERSION_UPSTREAM)%" \
-	    -e "s%@prefix@%/usr%"  \
-	    -e "s%@libdir@%/usr/lib%" < BLAS/blas.pc.in > BLAS/blas-netlib.pc
+	    -e "s%@CMAKE_INSTALL_PREFIX@%/usr%"  \
+	    -e "s%@CMAKE_INSTALL_LIBDIR@%lib%" < BLAS/blas.pc.in > BLAS/blas-netlib.pc
 
 override_dh_auto_build-arch:
 	# Build pic libraries

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lapack.git



More information about the debian-science-commits mailing list