graphics/py-s2: Use the same C++ version as devel/abseil
- Update version requirement of *_DEPENDS - Bump PORTREVISION for package change Reference: https://github.com/google/s2geometry/blob/master/README.md#building
This commit is contained in:
parent
88638d8757
commit
135447f2e2
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= s2
|
||||
PORTVERSION= 0.10.0
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= graphics python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -11,13 +12,15 @@ WWW= https://s2geometry.io/
|
|||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/../../LICENSE
|
||||
|
||||
BUILD_DEPENDS= s2>=${PORTVERSION}:graphics/s2 \
|
||||
BUILD_DEPENDS= s2>=${PORTVERSION}<${PORTVERSION}_99:graphics/s2 \
|
||||
swig>=4:devel/swig
|
||||
LIB_DEPENDS= libs2.so:graphics/s2
|
||||
|
||||
USES= cmake compiler:c++11-lang localbase:ldflags python
|
||||
USES= cmake compiler:c++17-lang localbase:ldflags python
|
||||
|
||||
CMAKE_ON= WITH_PYTHON
|
||||
USE_CXXSTD= c++17
|
||||
|
||||
WRKSRC_SUBDIR= src/python
|
||||
|
||||
GH_ACCOUNT= google
|
||||
|
|
Loading…
Reference in New Issue
Block a user