Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 10:15:01 +0000 (UTC)
From:      Akinori MUSHA <knu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340820 - head/databases/mysql-q4m
Message-ID:  <201401231015.s0NAF117074551@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: knu
Date: Thu Jan 23 10:15:01 2014
New Revision: 340820
URL: http://svnweb.freebsd.org/changeset/ports/340820
QAT: https://qat.redports.org/buildarchive/r340820/

Log:
  Add USE_GCC=4.2+ for FreeBSD 10+.
  
  Properly declare a dependency on Perl5 (for bin/q4m-forward) and bump
  PORTREVISION for this.

Modified:
  head/databases/mysql-q4m/Makefile

Modified: head/databases/mysql-q4m/Makefile
==============================================================================
--- head/databases/mysql-q4m/Makefile	Thu Jan 23 10:03:33 2014	(r340819)
+++ head/databases/mysql-q4m/Makefile	Thu Jan 23 10:15:01 2014	(r340820)
@@ -3,6 +3,7 @@
 
 PORTNAME=	q4m
 PORTVERSION=	0.9.10
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	http://q4m.kazuhooku.com/dist/
 PKGNAMEPREFIX=	mysql${MYSQL_VER}-
@@ -13,13 +14,13 @@ COMMENT=	A message queue that works as a
 FETCH_DEPENDS+=	${NONEXISTENT}:${PORTSDIR}/databases/mysql${MYSQL_VER}-server:build
 RUN_DEPENDS=	${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
 
-USE_PERL5=	yes
-USE_GMAKE=	yes
+USES=		gmake perl5
 USE_AUTOTOOLS=	libtool
 USE_MYSQL=	yes
+USE_GCC=	4.2+
 
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include -DDBUG_OFF
+CPPFLAGS+=	-I${LOCALBASE}/include -DDBUG_OFF
 LDFLAGS+=	${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql
 CONFIGURE_ARGS=	--prefix="${PREFIX}" \
 		--libdir="${PREFIX}/lib/mysql/plugin" \
@@ -56,7 +57,7 @@ post-install:
 .endif
 
 install-functions:
-	mysql -u root -f mysql < ${EXAMPLESDIR}/install.sql
+	mysql -u root -p -f mysql < ${EXAMPLESDIR}/install.sql
 
 test:
 	cd ${WRKSRC}; ./run_tests.pl



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