aboutsummaryrefslogtreecommitdiff
path: root/databases/percona57-server/Makefile
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2018-11-02 13:20:45 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2018-11-02 13:20:45 +0000
commitf60d4bacdc58ec061406d72cace1ac1266952e39 (patch)
treebfa25a2e626db5eb6ca7d2313a56bd6e3147b2de /databases/percona57-server/Makefile
parent12550718049d07baefc6085ee24674ea73937f35 (diff)
downloadports-f60d4bacdc58ec061406d72cace1ac1266952e39.tar.gz
ports-f60d4bacdc58ec061406d72cace1ac1266952e39.zip
Notes
Diffstat (limited to 'databases/percona57-server/Makefile')
-rw-r--r--databases/percona57-server/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/databases/percona57-server/Makefile b/databases/percona57-server/Makefile
index 89ece6ae7957..6c20521bcba8 100644
--- a/databases/percona57-server/Makefile
+++ b/databases/percona57-server/Makefile
@@ -3,7 +3,7 @@
PORTNAME?= percona
DISTVERSION= 5.7.21-20
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= databases ipv6
MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.7/Percona-Server-${DISTVERSION}/source/tarball/:percona \
SF/boost/boost/1.59.0:boost
@@ -127,6 +127,14 @@ CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON"
# But this keeps the pkg-plist not overlaping
CMAKE_ARGS+= -DWITH_AUTHENTICATION_LDAP=0
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
+SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS=""
+.else
+SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment "
+.endif
+
post-install:
${MKDIR} ${STAGEDIR}/var/db/mysql
${MKDIR} ${STAGEDIR}${ETCDIR}/keyring