Changeset View
Changeset View
Standalone View
Standalone View
databases/percona56-server/Makefile
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | |||||
CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" | CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
# Workaround to clang11/gcc10 with -fno-common by default | # Workaround to clang11/gcc10 with -fno-common by default | ||||
CFLAGS+= -fcommon | CFLAGS+= -fcommon | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 | |||||
SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" | |||||
.else | |||||
SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " | |||||
.endif | |||||
post-install: | post-install: | ||||
@${MKDIR} ${STAGEDIR}/var/db/mysql | @${MKDIR} ${STAGEDIR}/var/db/mysql | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} 's/*.1/${MANPAGES}/' ${WRKSRC}/man/CMakeLists.txt | @${REINPLACE_CMD} 's/*.1/${MANPAGES}/' ${WRKSRC}/man/CMakeLists.txt | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${PORT_OPTIONS:MTOKUDB} | .if ${PORT_OPTIONS:MTOKUDB} | ||||
NOT_FOR_ARCHS= i386 | NOT_FOR_ARCHS= i386 | ||||
NOT_FOR_ARCHS_REASON= TokuDB not supported on 32-bit platforms, see \ | NOT_FOR_ARCHS_REASON= TokuDB not supported on 32-bit platforms, see \ | ||||
https://github.com/percona/PerconaFT/blob/master/README.md | https://github.com/percona/PerconaFT/blob/master/README.md | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |