Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2014 17:19:34 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348635 - head/databases/mariadb-server
Message-ID:  <201403191719.s2JHJYsf043669@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Mar 19 17:19:34 2014
New Revision: 348635
URL: http://svnweb.freebsd.org/changeset/ports/348635
QAT: https://qat.redports.org/buildarchive/r348635/

Log:
  Revert switch to libevent-2.0 (configure fails to properly discover it and I don't have time to investigate)
  
  Submitted by:	geoffroy desvernay <dgeo@centrale-marseille.fr> (maintainer)

Modified:
  head/databases/mariadb-server/Makefile

Modified: head/databases/mariadb-server/Makefile
==============================================================================
--- head/databases/mariadb-server/Makefile	Wed Mar 19 17:19:34 2014	(r348634)
+++ head/databases/mariadb-server/Makefile	Wed Mar 19 17:19:34 2014	(r348635)
@@ -2,7 +2,7 @@
 
 PORTNAME=	mariadb
 PORTVERSION=	5.3.12
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	databases ipv6
 MASTER_SITES=	http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
 		http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
@@ -48,11 +48,7 @@ OPENSSL_DESC=	Use OpenSSL instead of bun
 
 
 .if !defined(MARIADB_CLIENT_SLAVE)
-CONFIGURE_ARGS+=	--with-libevent=${LOCALBASE}
-LIB_DEPENDS+=	libevent-2.0.so:${PORTSDIR}/devel/libevent2
-CFLAGS+=	-I${LOCALBASE}/include/event2/compat \
-		-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib/event2
+LIB_DEPENDS=	libevent-1.4.so:${PORTSDIR}/devel/libevent
 
 MANS=	innochecksum.1 my_print_defaults.1 myisam_ftdump.1 myisamchk.1 \
 	myisamlog.1 myisampack.1 mysql.server.1 mysql_client_test_embedded.1 \
@@ -275,7 +271,6 @@ EXTRA_PATCHES+=	${FILESDIR}/scripts__Mak
 MDB_SERVER_SUBDIRS=	include @docs_dirs@ sql-common libservices mysys strings dbug ${MDB_EXTRA_SUBDIRS} unittest cmd-line-utils libmysql scripts @sql_server_dirs@ @sql_server@ @man_dirs@ @libmysqld_dirs@ support-files
 
 post-patch:
-	@${REINPLACE_CMD} -e "s|-levent|-levent-2.0|g" ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e "s|%%SUBDIRS%%|${MDB_SERVER_SUBDIRS}|" ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e "s|%%MANS%%|${MANS}|" ${WRKSRC}/man/Makefile.in
 	@${REINPLACE_CMD} -e "s|^\(install:\).*|\1|" ${WRKSRC}/mysql-test/Makefile.in ${WRKSRC}/sql-bench/Makefile.in



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