[lapack] 01/05: Drop unneeded /usr/bin prefixs.
Sébastien Villemot
sebastien at debian.org
Sat Sep 9 08:56:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository lapack.
commit a7f222dca4da212dac3c5f8c72ad60dbbb141430
Author: Sébastien Villemot <sebastien at debian.org>
Date: Mon Sep 4 21:38:37 2017 +0200
Drop unneeded /usr/bin prefixs.
Gbp-Dch: Ignore
---
debian/rules | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 7846aae..a5e7072 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ LDFLAGS:=$(shell $(BUILDFLAGS_ENV) dpkg-buildflags --get LDFLAGS)
# if F77 isn't explicitly set (default or undefined), set it to the compiler for
# our host architecture. This may be a cross compiler
ifneq ($(filter default undefined,$(origin F77)),)
-F77 := /usr/bin/$(DEB_HOST_GNU_TYPE)-gfortran
+F77 := $(DEB_HOST_GNU_TYPE)-gfortran
endif
FFLAGS:=$(shell dpkg-buildflags --get FFLAGS)
@@ -21,7 +21,7 @@ FFLAGS_NOOPT:=$(shell DEB_BUILD_OPTIONS=noopt dpkg-buildflags --get FFLAGS)
# if CC isn't explicitly set (default or undefined), set it to the compiler for
# our host architecture. This may be a cross compiler
ifneq ($(filter default undefined,$(origin CC)),)
-CC := /usr/bin/$(DEB_HOST_GNU_TYPE)-gcc
+CC := $(DEB_HOST_GNU_TYPE)-gcc
endif
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
@@ -66,8 +66,8 @@ make.inc: INSTALL/make.inc.gfortran
-e "s,\(^OPTS *=\).*,\1 \$$(PICOPTS) $(FFLAGS),1" \
-e "s,\(^LOADER *=\).*,\1 $(F77),1" \
-e "s/\(^LOADOPTS *=\).*/\1 $(LDFLAGS)/1" \
- -e "s,\(^ARCH *=\).*,\1 /usr/bin/$(DEB_HOST_GNU_TYPE)-ar,1" \
- -e "s,\(^RANLIB *=\).*,\1 /usr/bin/$(DEB_HOST_GNU_TYPE)-ranlib,1" \
+ -e "s,\(^ARCH *=\).*,\1 $(DEB_HOST_GNU_TYPE)-ar,1" \
+ -e "s,\(^RANLIB *=\).*,\1 $(DEB_HOST_GNU_TYPE)-ranlib,1" \
-e "s,\(^CFLAGS *=\).*,\1 $(CPPFLAGS) \$$(PICOPTS) $(CFLAGS),1" \
< $< > $@
# Build deprecated routines (see #810143)
--
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