From 39e31de51fbf694ff20f162572dc22c61f7d1b9d Mon Sep 17 00:00:00 2001 From: linimon Date: Mon, 11 Jun 2018 01:44:15 +0000 Subject: Fix port builds for architectures which remain on gcc as the default compiler. This will primarily help powerpc64. For archs where clang is the default compiler, these changes will have no effect, as the base compiler already has these capabilities (primarily, but not exclusively, c++-11). Tested for no-harm on amd64. While here, pet portlint. Approved by: portmgr (tier-2 blanket) --- math/ambit/Makefile | 3 ++- math/clblast/Makefile | 3 ++- math/glm/Makefile | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'math') diff --git a/math/ambit/Makefile b/math/ambit/Makefile index 7e492e2e5ed3..061d3719e2c8 100644 --- a/math/ambit/Makefile +++ b/math/ambit/Makefile @@ -17,7 +17,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/szip -USES= cmake:outsource +USES= cmake:outsource compiler:c++11-lang +USE_GCC= yes USE_GITHUB= yes GH_ACCOUNT= jturney diff --git a/math/clblast/Makefile b/math/clblast/Makefile index f4e49bd9914b..4772f70d3cf1 100644 --- a/math/clblast/Makefile +++ b/math/clblast/Makefile @@ -19,7 +19,8 @@ USE_GITHUB= yes GH_ACCOUNT= CNugteren GH_PROJECT= CLBlast -USE_LDCONFIG= yes USES= cmake +USE_GCC= yes +USE_LDCONFIG= yes .include diff --git a/math/glm/Makefile b/math/glm/Makefile index 2ce69ac04385..c782e9cea49e 100644 --- a/math/glm/Makefile +++ b/math/glm/Makefile @@ -12,13 +12,12 @@ COMMENT= C++ mathematics library for software based on the OpenGL GLSL LICENSE= MIT LICENSE_FILE= ${WRKSRC}/copying.txt +USES= cmake:outsource compiler:c++11-lang pkgconfig USE_GITHUB= yes GH_ACCOUNT= g-truc NO_ARCH= yes -USES= cmake:outsource pkgconfig - OPTIONS_DEFINE= TEST TEST_CMAKE_BOOL= GLM_TEST_ENABLE TEST_TEST_TARGET= test -- cgit