[lapack] 06/10: d/rules: fix generation of .pc files.

Sébastien Villemot sebastien at debian.org
Thu Dec 29 16:45:14 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 798572126f331f12d8d741e19889def7fa25e143
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Dec 29 10:17:52 2016 +0100

    d/rules: fix generation of .pc files.
    
    Gbp-Dch: Ignore
---
 debian/rules | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index eb144a5..6b78d81 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%@CMAKE_INSTALL_PREFIX@%/usr%"  \
-	    -e "s%@CMAKE_INSTALL_LIBDIR@%lib%" < lapack.pc.in > lapack-netlib.pc
+	    -e "s%@prefix@%/usr%"  \
+	    -e "s%@libdir@%/usr/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%@CMAKE_INSTALL_PREFIX@%/usr%"  \
-	    -e "s%@CMAKE_INSTALL_LIBDIR@%lib%" < BLAS/blas.pc.in > BLAS/blas-netlib.pc
+	    -e "s%@prefix@%/usr%"  \
+	    -e "s%@libdir@%/usr/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