diff options
author | brnrd <brnrd@FreeBSD.org> | 2018-04-04 03:10:28 +0800 |
---|---|---|
committer | brnrd <brnrd@FreeBSD.org> | 2018-04-04 03:10:28 +0800 |
commit | 9a6b1092ccc0ac76f6efdaca4b013dfa9d1bcf87 (patch) | |
tree | 5f5e60868d6b1180ef9d7c46542c71f066464396 /databases/mariadb101-server/Makefile | |
parent | 831693448c3fcfaac4deb7b75ee2ac4ea5e18759 (diff) | |
download | freebsd-ports-gnome-9a6b1092ccc0ac76f6efdaca4b013dfa9d1bcf87.tar.gz freebsd-ports-gnome-9a6b1092ccc0ac76f6efdaca4b013dfa9d1bcf87.tar.zst freebsd-ports-gnome-9a6b1092ccc0ac76f6efdaca4b013dfa9d1bcf87.zip |
databases/mariadb101-server: Fix mysql_limits
- 11-STABLE and 12-CURRENT add limits support to rc.subr(8)
leading to variable conflicts with rc.d/mysql
PR: 227225
Submitted by: 0mp
Diffstat (limited to 'databases/mariadb101-server/Makefile')
-rw-r--r-- | databases/mariadb101-server/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/databases/mariadb101-server/Makefile b/databases/mariadb101-server/Makefile index 42217cf31cb2..998eaef4f15b 100644 --- a/databases/mariadb101-server/Makefile +++ b/databases/mariadb101-server/Makefile @@ -2,7 +2,7 @@ PORTNAME?= mariadb PORTVERSION= 10.1.32 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \ http://mirrors.supportex.net/${SITESDIR}/ \ @@ -183,6 +183,15 @@ post-install-MROONGA-on: ${STAGEDIR}${PREFIX}/share/mysql .endif # defined(CLIENT_ONLY) +.include <bsd.port.options.mk> + +.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1101515 || \ + ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200057 +SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " +.else +SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" +.endif + .include <bsd.port.pre.mk> .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} |