[99750] trunk/dports/gis/cgal/Portfile

vince at macports.org vince at macports.org
Fri Nov 16 01:44:46 PST 2012


Revision: 99750
          https://trac.macports.org/changeset/99750
Author:   vince at macports.org
Date:     2012-11-16 01:44:45 -0800 (Fri, 16 Nov 2012)
Log Message:
-----------
Now that Boost 1.52 is released, re-enable demos variant. Also with IPE and libQGLViewer now universal, CGAL can be built universal too.

Modified Paths:
--------------
    trunk/dports/gis/cgal/Portfile

Modified: trunk/dports/gis/cgal/Portfile
===================================================================
--- trunk/dports/gis/cgal/Portfile	2012-11-15 23:24:06 UTC (rev 99749)
+++ trunk/dports/gis/cgal/Portfile	2012-11-16 09:44:45 UTC (rev 99750)
@@ -48,7 +48,6 @@
                         -DWITH_CGAL_Qt4:BOOL=OFF \
 						-DBoost_DIR:PATH=${prefix} \
 						-DWITH_Eigen3:BOOL=ON \
-						-DCGAL_EIGEN3_ENABLED:BOOL=ON \
 						-DWITH_ZLIB:BOOL=ON
 
 # gcc 4.0 is too old to compile CGAL properly; see <http://www.cgal.org/FAQ.html#mac_optimization_bug>
@@ -60,9 +59,6 @@
         configure.compiler apple-gcc-4.2
     }
 } 
-#elseif {[string match "*clang*" ${configure.cc}]} {
-#	configure.compiler	llvm-gcc-4.2
-#}
 
 variant demos description {Create demos} requires qt4 {
 	depends_lib-append		port:libQGLViewer \
@@ -77,18 +73,14 @@
 	configure.args-append	-DWITH_OpenGL:BOOL=ON
 
   # MacPorts installs IPE version 7; make sure to use it.
-	configure.args-append	-DWITH_IPE_7:BOOL=ON
+	configure.args-append	-DWITH_IPE:BOOL=ON
 
   # include Qt's CMake defines, just in case
 	configure.args-append	${qt_cmake_defines}
-
+		
 	build.target-append		examples demos
 	use_parallel_build		no
 
-	pre-fetch {
-		return -code error "Demo option is disabled until Boost 1.52 is released."
-	}
-
 	post-destroot {			xinstall -d ${destroot}${prefix}/share/${name}
 							copy ${worksrcpath}/demo ${destroot}${prefix}/share/${name}
 							copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121116/ac399ac9/attachment.html>


More information about the macports-changes mailing list