Bug#536435: [Pkg-scicomp-devel] Bug#536435: gmsh: Please Build-Depends: libopencascade-modeling-dev

2009-07-13 Thread Denis Barbier
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


Bug#536435: [Pkg-scicomp-devel] Bug#536435: gmsh: Please Build-Depends: libopencascade-modeling-dev

2009-07-10 Thread Christophe Prud'homme
Hi Denis

I just uploaded -3 with your patch and a few other things

C.

On Thu, Jul 9, 2009 at 11:30 PM, Denis Barbierbou...@gmail.com wrote:
 Package: gmsh
 Version: 2.3.1.dfsg-2
 Tags: patch

 Hi Christophe,

 Opencascade is now built on all arches, can you please remove [i386 amd64]
 from Build-Depends: libopencascade-dev?
 You should also use libopencascade-modeling-dev instead of libopencascade-dev.
 Here is a patch.

 Denis

 ___
 Pkg-scicomp-devel mailing list
 pkg-scicomp-de...@lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org