[Lunar-commits] <moonbase> CGAL: Adding a patch to fix a make failure becuase of the Python bump.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Feb 15 14:09:50 CET 2012


commit b4e0446febc613ee8ccf390bec1bed722e6c02d9
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Feb 15 08:09:50 2012 -0500

    CGAL: Adding a patch to fix a make failure becuase of the Python bump.
    
    Taken from https://lists-sop.inria.fr/sympa/arc/cgal-discuss/2011-11/msg00087.html
---
 libs/CGAL/BUILD   |   13 ++++---------
 libs/CGAL/DETAILS |    5 ++++-
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/libs/CGAL/BUILD b/libs/CGAL/BUILD
index 051c1ed..3d0d472 100644
--- a/libs/CGAL/BUILD
+++ b/libs/CGAL/BUILD
@@ -1,16 +1,11 @@
 (
 
-  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
+  patch_it $SOURCE2 0 &&
 
-  mkdir $OOSB_DIR  &&
-  cd $OOSB_DIR     &&
+# The first one I have found that is case sensitive to "RELEASE"
+  OPTS+=" -DBUILD_SHARED_LIBS=TRUE -DCMAKE_BUILD_TYPE=Release" &&
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=Release             \
-                           -DBUILD_SHARED_LIBS=TRUE               \
-                           $OPTS                                 &&
-
-  default_make
+  default_cmake_build
 
 ) > $C_FIFO 2>&1
 
diff --git a/libs/CGAL/DETAILS b/libs/CGAL/DETAILS
index 0622c4b..a144e88 100644
--- a/libs/CGAL/DETAILS
+++ b/libs/CGAL/DETAILS
@@ -1,8 +1,11 @@
           MODULE=CGAL
          VERSION=3.9
           SOURCE=$MODULE-$VERSION.tar.gz
-   SOURCE_URL[0]=https://gforge.inria.fr/frs/download.php/29125/
+         SOURCE2=cgal-boost-1.48.0.diff
+      SOURCE_URL=https://gforge.inria.fr/frs/download.php/29125/
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:cc99fad7116f221b6301326834f71ff65cebf2eb
+     SOURCE2_VFY=sha1:00ff7d19ed0f3954593ecd81faf9ea3e2a6c5614
         WEB_SITE=http://www.cgal.org/
          ENTERED=20110112
          UPDATED=20111017


More information about the Lunar-commits mailing list