Package: openfoam / 4.0+dfsg1-7~bpo8+1

60_disable_dummy_packages.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: Disable dummy scotch package
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2016-11-17

Index: openfoam-4.0+dfsg1/src/parallel/decompose/scotchDecomp/Make/options
===================================================================
--- openfoam-4.0+dfsg1.orig/src/parallel/decompose/scotchDecomp/Make/options
+++ openfoam-4.0+dfsg1/src/parallel/decompose/scotchDecomp/Make/options
@@ -7,10 +7,8 @@ sinclude $(RULES)/mplib$(WM_MPLIB)
 
 EXE_INC = \
     $(PFLAGS) $(PINC) \
-    -I$(SCOTCH_ROOT)/include \
-    -I$(SCOTCH_ARCH_PATH)/include \
     -I/usr/include/scotch \
     -I../decompositionMethods/lnInclude
 
 LIB_LIBS = \
-    -L$(SCOTCH_ROOT)/lib -L$(FOAM_EXT_LIBBIN) -lscotch -lscotcherrexit -lrt
+    -L$(FOAM_EXT_LIBBIN) -lscotch -lscotcherrexit -lrt
Index: openfoam-4.0+dfsg1/src/dummyThirdParty/Allwmake
===================================================================
--- openfoam-4.0+dfsg1.orig/src/dummyThirdParty/Allwmake
+++ openfoam-4.0+dfsg1/src/dummyThirdParty/Allwmake
@@ -5,7 +5,6 @@ cd ${0%/*} || exit 1    # Run from this
 . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
 set -x
 
-wmake $targetType scotchDecomp
 wmake $targetType ptscotchDecomp
 wmake $targetType metisDecomp
 wmake $targetType MGridGen