[petsc] 05/06: debian/rules: export variables used in dynamic deb scripts
Drew Parsons
dparsons at moszumanska.debian.org
Fri Nov 3 03:17:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to tag experimental/3.8.0+dfsg1-1exp1
in repository petsc.
commit ed6e867c50183591d374988b5772b6d01bc4c1ae
Author: Drew Parsons <dparsons at debian.org>
Date: Fri Nov 3 09:02:10 2017 +0800
debian/rules: export variables used in dynamic deb scripts
i.e. variables used in *.links
---
debian/rules | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 99d7b5d..a388afb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -fPIC
# Overriding this with "contrib" attempts to link with parmetis (unimplemented).
DEBIAN_DIST=main
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# On Alpha, override this with debian/rules PETSC_ARCH=linux_alpha_dec binary
# to build PETSc libs with the Compaq compilers, though that requires at least:
@@ -60,9 +60,9 @@ PETSC_COMPLEX_DEBUG_BUILD_DIR=$(PETSC_ARCH)-complex-debug
# PETSC_VERSION is used for the package names, library sonames, and
# /usr/lib/petscdir subdirectory names.
-PETSC_VERSION=3.8.0$(PETSC_EXT)
+export PETSC_VERSION=3.8.0$(PETSC_EXT)
# use only major.minor as general soname (rather than major.minor.patch.build)
-PETSC_SONAME_VERSION=$(shell echo $(PETSC_VERSION) | awk 'BEGIN { FS="."}; {print $$1"."$$2 }')
+export PETSC_SONAME_VERSION=$(shell echo $(PETSC_VERSION) | awk 'BEGIN { FS="."}; {print $$1"."$$2 }')
# PETSC_NAME is the install dir under /usr/lib and the base for package names
PETSC_NAME=petsc$(PETSC_SONAME_VERSION)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/petsc.git
More information about the debian-science-commits
mailing list