On 2009/7/10 Christophe Prud'homme wrote:
> Hi Denis
>
> I just uploaded -3 with your patch and a few other things

Thanks Christophe,

Unfortunately my patch was incomplete, OCC has to be enabled at configure
time.  Here is a patch to fix debian/rules.

Denis
--- debian/rules
+++ debian/rules
@@ -27,22 +27,8 @@ export CXXFLAGS= -O3
 export FFLAGS= -O3
 export CPPFLAGS=
 
-WITH_OCC=no
+WITH_OCC=yes
 WITH_MPI=no
-ifeq ($(shell dpkg --print-architecture),amd64)
- WITH_OCC=yes
-# WITH_MPI=yes
-endif
-ifeq ($(shell dpkg --print-architecture),i386)
- WITH_OCC=yes
-# WITH_MPI=yes
-endif
-ifeq ($(shell dpkg --print-architecture),ia64)
-# WITH_MPI=yes
-endif
-ifeq ($(shell dpkg --print-architecture),powerpc)
-# WITH_MPI=yes
-endif
 ifeq ($(WITH_OCC),yes)
  CFLAGS += -I/usr/include/opencascade -DHAVE_NO_OCC_CONFIG_H
  CXXFLAGS += -I/usr/include/opencascade -DHAVE_NO_OCC_CONFIG_H

Reply via email to