diff options
-rw-r--r-- | databases/mariadb101-server/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/mariadb101-server/Makefile b/databases/mariadb101-server/Makefile index 68880ab5d639..74f11f242be3 100644 --- a/databases/mariadb101-server/Makefile +++ b/databases/mariadb101-server/Makefile @@ -28,7 +28,7 @@ LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept SUB_FILES= pkg-message -USES= bison:build cmake:insource,noninja compiler:c++11-lib cpe libedit ncurses \ +USES= bison:build cmake:insource,noninja cpe libedit ncurses \ shebangfix ssl USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES= scripts/*.sh @@ -163,6 +163,12 @@ SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " .endif +.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2 +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lib +.endif + .include <bsd.port.pre.mk> .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} |