Edit

IABSD.fr/ports/geo/sfcgal/Makefile

Branch :

  • Show log

    Commit

  • Author : tb
    Date : 2026-05-10 15:17:00
    Hash : fb6e8335
    Message : sfcgal: pull in upstream fix for Boost 1.89 which we now need for 1.91 sync WANTLIB while there.

  • geo/sfcgal/Makefile
  • COMMENT =		CGAL wrapper implementing 2D/3D operations on OGC features
    
    V =			v2.2.0
    DISTNAME =		SFCGAL-${V}
    PKGNAME =		${DISTNAME:L:S/v//}
    SHARED_LIBS +=	SFCGAL	0.1 # 0.0
    REVISION =		1
    
    CATEGORIES =		geo math
    
    HOMEPAGE =		https://sfcgal.gitlab.io/SFCGAL/
    
    # LGPLv3+ and GPLv3+; see https://www.cgal.org/license.html
    PERMIT_PACKAGE =	Yes
    
    COMPILER =		base-clang ports-gcc
    SITES =			https://gitlab.com/sfcgal/SFCGAL/-/archive/${V}/
    
    MODULES =		devel/cmake
    
    BUILD_DEPENDS +=	math/cgal
    
    LIB_DEPENDS +=		devel/boost>=1.84.0p8 \
    			devel/gmp,-cxx \
    			devel/gmp,-main \
    			devel/mpfr
    
    TEST_DEPENDS =		${FULLPKGNAME}:${BUILD_PKGPATH}
    
    WANTLIB += ${COMPILER_LIBCXX} boost_atomic-mt boost_chrono-mt
    WANTLIB += boost_container-mt boost_date_time-mt boost_filesystem-mt
    WANTLIB += boost_program_options-mt boost_serialization-mt boost_thread-mt
    WANTLIB += boost_timer-mt boost_unit_test_framework-mt gmp gmpxx
    WANTLIB += m mpfr
    
    CONFIGURE_ARGS +=	-DSFCGAL_BUILD_TESTS:BOOL=ON
    
    .include <bsd.port.mk>