databases/mariadb55-server: Fix FreeBSD 8 and 9 (jemallac issue)
Bring in MariaDB 10's jemalloc logic to fix FreeBSD 8 and 9. While here, convert to USES+= execinfo PR: 195320 Reported by: FreeBSD 9 users Submitted by: maintainer Final fix by: marino
This commit is contained in:
parent
d495ed5eef
commit
d085c0e427
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373396
@ -21,7 +21,7 @@ SUB_FILES= pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
SLAVEDIRS= databases/mariadb55-client
|
||||
USES= cmake gmake shebangfix
|
||||
USES= cmake execinfo gmake shebangfix
|
||||
SHEBANG_FILES= scripts/*.sh
|
||||
NO_OPTIONS_SORT=yes
|
||||
|
||||
@ -71,14 +71,10 @@ OPTIONS_DEFAULT+= MAXKEY
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 1000052
|
||||
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 1000012
|
||||
CMAKE_ARGS+= -DWITH_JEMALLOC="bundled"
|
||||
.else
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000012
|
||||
CMAKE_ARGS+= -DWITH_JEMALLOC="system"
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_JEMALLOC="no"
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSSL}
|
||||
|
Loading…
Reference in New Issue
Block a user