mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 16:40:31 -04:00
CGAL is a collaborative effort of several sites in Europe and Israel. The goal is to make the most important of the solutions and methods developed in computational geometry available to users in industry and academia in a C++ library. The goal is to provide easy access to useful, reliable geometric algorithms. The CGAL library contains: * the Kernel with geometric primitives such as points, vectors, lines, predicates for testing things such as relative positions of points, and operations such as intersections and distance calculation. * the Basic Library which is a collection of standard data structures and geometric algorithms, such as convex hull in 2D/3D, (Delaunay) triangulation in 2D/3D, planar map, polyhedron, smallest enclosing circle, and multidimensional query structures. * the Support Library which offers interfaces to other packages, e.g., for visualisation, and I/O, and other support facilities. WWW: http://www.cgal.org/
45 lines
1.5 KiB
Text
45 lines
1.5 KiB
Text
--- install_cgal.orig Mon Dec 20 18:06:41 2004
|
|
+++ install_cgal Mon Apr 10 10:36:58 2006
|
|
@@ -1011,7 +1011,7 @@
|
|
;;
|
|
*)
|
|
#### settings for unknown compiler
|
|
- CGAL_SHARED_LIB_CREATE="`compiler_bin` -G"
|
|
+ CGAL_SHARED_LIB_CREATE="`compiler_bin` -shared"
|
|
;;
|
|
esac
|
|
# Remove *.moc files too, on all platforms
|
|
@@ -1339,6 +1339,8 @@
|
|
cleanup_after_compile
|
|
cleanup_after_link_run
|
|
done
|
|
+ sed -e "s|CGAL/compiler_config\.h|CGAL/config/${CGAL_OS_COMPILER}/&|" ${CGAL_INCL_DIR}/CGAL/config.h > ${CGAL_INCL_DIR}/CGAL/config.h.tmp
|
|
+ mv -f ${CGAL_INCL_DIR}/CGAL/config.h.tmp ${CGAL_INCL_DIR}/CGAL/config.h
|
|
cd ${CGAL_DIR}
|
|
CONFIG_TEST_PASSED='y'
|
|
}
|
|
@@ -5675,7 +5677,7 @@
|
|
# CGAL_LIB_CXXFLAGS
|
|
#
|
|
${_printf} "%s\\\\\n" "CGAL_LIB_CXXFLAGS = " >> ${FILE}
|
|
- makefile_print_line "${CGAL_LIB_CXXFLAGS} -O2" >> ${FILE}
|
|
+ makefile_print_line "${CGAL_LIB_CXXFLAGS}" >> ${FILE}
|
|
${_printf} "\t%s\n" "\$(CGAL_CXXFLAGS)" >> ${FILE}
|
|
|
|
#
|
|
@@ -5693,13 +5695,13 @@
|
|
#
|
|
# CGAL_SHARED_LIB
|
|
#
|
|
- ${_printf} "%s\n" "CGAL_SHARED_LIB = libCGAL${SHARED_LIB_EXT}" >> ${FILE}
|
|
+ ${_printf} "%s\n" "CGAL_SHARED_LIB = libCGAL${SHARED_LIB_EXT}.${SHLIB_VERSION}" >> ${FILE}
|
|
|
|
#
|
|
# CGAL_SHARED_LIB_CXXFLAGS
|
|
#
|
|
${_printf} "%s\\\\\n" "CGAL_SHARED_LIB_CXXFLAGS = " >> ${FILE}
|
|
- makefile_print_line "${CGAL_SHARED_LIB_CXXFLAGS} -O2" >> ${FILE}
|
|
+ makefile_print_line "${CGAL_SHARED_LIB_CXXFLAGS}" >> ${FILE}
|
|
${_printf} "\t%s\n" "\$(CGAL_CXXFLAGS)" >> ${FILE}
|
|
|
|
#
|