[vtk6] 05/08: d/rules: correct netcdf header patching

Gert Wollny gewo at moszumanska.debian.org
Wed Jul 5 11:09:36 UTC 2017


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

gewo pushed a commit to branch master
in repository vtk6.

commit 913f3530c7625324aff2ff2b1ebb2f51cf63f2b5
Author: Gert Wollny <gewo at debian.org>
Date:   Thu Jun 22 11:33:45 2017 +0000

    d/rules: correct netcdf header patching
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index e037d6d..5a794af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ endif
 export JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
-	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --with python2 --with javahelper --parallel
+	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
 
 extra_flags +=  \
   -DCMAKE_VERBOSE_MAKEFILE=ON \
@@ -87,7 +87,7 @@ override_dh_auto_install:
 	dh_auto_install -X.pyc -X.pyo
 
         # Correct headers for paraview
-	perl -pi.bak -e "s|cxx|include|g" ThirdParty/netcdf/vtk_netcdfcpp.h
+	perl -pi.bak -e "s|cxx|include|g" $(CURDIR)/debian/build/ThirdParty/netcdf/vtk_netcdfcpp.h
 	sed -i -e "s/FATAL_ERROR/STATUS/g" $(CURDIR)/debian/tmp/usr/lib/cmake/vtk-6.3/VTKTargets.cmake
 	mv $(CURDIR)/debian/tmp/usr/bin/vtk $(CURDIR)/debian/tmp/usr/bin/vtk6
 

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



More information about the debian-science-commits mailing list