[slepc4py] 06/08: export PETSC_DIR and SLEPC_DIR during build

Drew Parsons dparsons at moszumanska.debian.org
Tue May 16 06:59:49 UTC 2017


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

dparsons pushed a commit to tag debian/3.7.0-3
in repository slepc4py.

commit 53e0eca41b03e5fd3d947a51f7339767e0c3ca48
Author: Drew Parsons <dparsons at debian.org>
Date:   Tue May 16 14:39:08 2017 +0800

    export PETSC_DIR and SLEPC_DIR during build
    
    makes them available for intermediate dh_python build steps.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index fc57e2f..7aaf26e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,8 +17,8 @@ SLEPC_MAJOR_VERSION=$(shell echo $(SLEPC_BASE_VERSION) | sed "s/\..*//")
 SLEPC_MINOR_VERSION=$(shell echo $(SLEPC_BASE_VERSION) | sed "s/.*\.//")
 SLEPC_NEXT_VERSION=$(shell echo $(SLEPC_MAJOR_VERSION).$$(( $(SLEPC_MINOR_VERSION) + 1 )) )
 
-PETSC_DIR=/usr/lib/petscdir/$(SLEPC_BASE_VERSION)
-SLEPC_DIR=/usr/lib/slepcdir/$(SLEPC_BASE_VERSION)
+export PETSC_DIR=/usr/lib/petscdir/$(SLEPC_BASE_VERSION)
+export SLEPC_DIR=/usr/lib/slepcdir/$(SLEPC_BASE_VERSION)
 
 # see FEATURE AREAS in dpkg-buildflags(1)
 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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



More information about the debian-science-commits mailing list