Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2016 02:51:55 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423102 - head/databases/mariadb101-server
Message-ID:  <201610020251.u922pt4i041852@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Oct  2 02:51:55 2016
New Revision: 423102
URL: https://svnweb.freebsd.org/changeset/ports/423102

Log:
  databases/mariadb101: Fix stage-QA for client
  
  THere were 5 new programs built and installed by both the client and
  the server.  This is not a unique case.  Previously they were allocated
  to the client and removed by the post-install target of the server. In
  this case, they've already been allocated to the server, so we need a
  new post-install target for the client to remove them from the stage
  directory so stage-QA checks pass.
  
  While here, remove the now-unnecessary DragonFly configure argument
  and change the backtick in a comment to an apostrophe to avoid the
  makefile being interpreted as a shell script by some editors.  Also
  remove redundant forward slashes on the server post-install target.
  
  Approved by:	just-fix-it

Modified:
  head/databases/mariadb101-server/Makefile

Modified: head/databases/mariadb101-server/Makefile
==============================================================================
--- head/databases/mariadb101-server/Makefile	Sun Oct  2 02:36:24 2016	(r423101)
+++ head/databases/mariadb101-server/Makefile	Sun Oct  2 02:51:55 2016	(r423102)
@@ -87,7 +87,7 @@ CMAKE_ARGS+=	-DINSTALL_DOCDIR="share/doc
 DATADIR=	${PREFIX}/share/mysql
 
 .ifdef USE_MYSQL
-.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. This leads to a circular dependency. Please undefine and try again.
+.error You have 'USE_MYSQL' variable defined either in environment or in make(1) arguments. This leads to a circular dependency. Please undefine and try again.
 .endif
 
 CONFLICTS_INSTALL=	mariadb5*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \
@@ -102,6 +102,9 @@ OPTIONS_SUB=		yes
 # MySQL-Client part
 USES+=		readline
 GSSAPI_NONE_CMAKE_ON=	-DPLUGIN_AUTH_GSSAPI_CLIENT=NO
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/wsrep*
 .else
 # MySQL-Server part
 USES+=		mysql:101m
@@ -140,8 +143,8 @@ post-install:
 		${STAGEDIR}${PREFIX}/bin/mysql_config \
 		${STAGEDIR}${PREFIX}/bin/mysql_find_rows \
 		${STAGEDIR}${PREFIX}/bin/mysqlaccess
-	${RM} -r ${STAGEDIR}/${PREFIX}/share/mysql/policy \
-		${STAGEDIR}/${PREFIX}/share/pkgconfig
+	${RM} -r ${STAGEDIR}${PREFIX}/share/mysql/policy \
+		${STAGEDIR}${PREFIX}/share/pkgconfig
 .endif # defined(CLIENT_ONLY)
 
 .include <bsd.port.pre.mk>
@@ -150,10 +153,6 @@ post-install:
 IGNORE=		BASE_GSSAPI is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system
 .endif
 
-.if ${OPSYS} == DragonFly
-CMAKE_ARGS+=	-DWITHOUT_TOKUDB
-.endif
-
 .if ${OPSYS} == FreeBSD
 . if ${OSVERSION} >= 1000012
 CMAKE_ARGS+=	-DWITH_JEMALLOC="system"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610020251.u922pt4i041852>