diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-04-22 15:37:46 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-04-22 15:37:46 +0000 |
commit | dbb6535a833bed3e215bcc7347abf6ba99af768c (patch) | |
tree | e19edb00c49b0f5af1fbf59b95cd56e79a016b1c /graphics/py-s2 | |
parent | 639acf8c81b0ec5ed39fddb8b026a06f9aafcf37 (diff) | |
download | ports-dbb6535a833bed3e215bcc7347abf6ba99af768c.tar.gz ports-dbb6535a833bed3e215bcc7347abf6ba99af768c.zip |
Diffstat (limited to 'graphics/py-s2')
-rw-r--r-- | graphics/py-s2/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/py-s2/Makefile b/graphics/py-s2/Makefile index 339646283ff0..854e830cb985 100644 --- a/graphics/py-s2/Makefile +++ b/graphics/py-s2/Makefile @@ -2,6 +2,7 @@ PORTNAME= s2 PORTVERSION= 0.9.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +17,7 @@ BUILD_DEPENDS= s2>=${PORTVERSION}:graphics/s2 \ swig:devel/swig LIB_DEPENDS= libs2.so:graphics/s2 -USES= cmake localbase:ldflags python +USES= cmake compiler:c++11-lang localbase:ldflags python WRKSRC_SUBDIR= src/python @@ -26,10 +27,8 @@ USE_GITHUB= yes .include <bsd.port.options.mk> -.if ${ARCH} == powerpc64 -USES+= compiler:gcc-c++11-lib -.else -USES+= compiler:c++11-lang +.if ${ARCH} == powerpc64 && !defined(CPUTYPE) +CXXFLAGS+= -mcpu=power7 .endif .include <bsd.port.mk> |