[sundials] 32/76: fix sundials-config

Andreas Tille tille at debian.org
Sun Feb 5 18:44:53 UTC 2017


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

tille pushed a commit to branch master
in repository sundials.

commit 345f94c0f515f0bbfc22397e83f182fcfc0298f1
Author: Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>
Date:   Mon Jul 16 20:53:04 2012 +0000

    fix sundials-config
---
 debian/patches/sundials-config.patch | 2 +-
 debian/rules                         | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/debian/patches/sundials-config.patch b/debian/patches/sundials-config.patch
index 3af45be..7bfcd91 100644
--- a/debian/patches/sundials-config.patch
+++ b/debian/patches/sundials-config.patch
@@ -13,7 +13,7 @@ Index: sundials-2.5.0/bin/sundials-config.in
  abs_libdir=`cd "${libdir}" > /dev/null 2>&1 && pwd`;
  
 -if test $abs_includedir != /usr/include ; then
-+if [ test "$abs_includedir" != "/usr/include" ] ; then
++if test "$abs_includedir" != "/usr/include" ; then
      includes=-I$abs_includedir
  fi
  
diff --git a/debian/rules b/debian/rules
index 4475cf7..5071108 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,10 +61,6 @@ override_dh_auto_install:
 	mkdir -p debian/tmp/$(mpath)
 	mv sundialsTB/octave/* debian/tmp/$(mpath)
 	rm debian/tmp/$(mpath)/sundialsTB/LICENSE
-#
-#install sundials-config
-	cp bin/sundials-config.in bin/sundials-config
-	perl -pi -e "s|\@SHELL\@|/bin/bash|" bin/sundials-config
 
 	dh_install -a -Nlibsundials-doc
 	dh_install -plibsundials-doc -X.txt -X.out -X.in -XREADME

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



More information about the debian-science-commits mailing list