From dougb@FreeBSD.org  Wed Jan 11 18:37:47 2012
Return-Path: <dougb@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 02D8610656B3
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jan 2012 18:37:47 +0000 (UTC)
	(envelope-from dougb@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id E594F8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jan 2012 18:37:46 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0BIbkoF092593
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jan 2012 18:37:46 GMT
	(envelope-from dougb@freefall.freebsd.org)
Received: (from dougb@localhost)
	by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0BIbk7A092592;
	Wed, 11 Jan 2012 18:37:46 GMT
	(envelope-from dougb)
Message-Id: <201201111837.q0BIbk7A092592@freefall.freebsd.org>
Date: Wed, 11 Jan 2012 18:37:46 GMT
From: Doug Barton <dougb@freebsd.org>
Reply-To: Doug Barton <dougb@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fix devel/pinba_engine to work with mariadb
X-Send-Pr-Version: 3.113
X-GNATS-Notify: raven428@gmail.com

>Number:         164028
>Category:       ports
>Synopsis:       Fix devel/pinba_engine to work with mariadb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 11 18:40:12 UTC 2012
>Closed-Date:    Fri Jan 13 09:44:10 UTC 2012
>Last-Modified:  Fri Jan 13 09:50:07 UTC 2012
>Originator:     Doug Barton
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
AAAG
>Environment:
	DNA
>Description:
	The current Makefile files when WITH_MYSQL_VER= 52 is defined
>How-To-Repeat:
	See above
>Fix:
	Apply the following patch:


Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/pinba_engine/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	10 Jan 2012 12:55:24 -0000	1.4
+++ Makefile	11 Jan 2012 18:32:33 -0000
@@ -18,8 +18,8 @@
 BUILD_DEPENDS=	${LOCALBASE}/include/google/protobuf/descriptor.h:${PORTSDIR}/devel/protobuf \
  		${LOCALBASE}/include/event.h:${PORTSDIR}/devel/libevent \
 		${LOCALBASE}/include/Judy.h:${PORTSDIR}/devel/judy \
-		${LOCALBASE}/lib/mysql/plugin:${MYSQL_PORTDIR} \
- 		${NONEXISTENT}:${MYSQL_PORTDIR}:configure \
+		${LOCALBASE}/lib/mysql/plugin:${PORTSDIR}/${_MYSQL_SERVER} \
+ 		${NONEXISTENT}:${PORTSDIR}/${_MYSQL_SERVER}:configure \
 		bison:${PORTSDIR}/devel/bison \
 		cmake:${PORTSDIR}/devel/cmake
 
@@ -30,8 +30,7 @@
 USE_MYSQL=	yes
 IGNORE_WITH_MYSQL=	41 50
 
-MYSQL_PORTDIR=	${PORTSDIR}/databases/mysql${MYSQL_VER}-server
-MYSQL_WRKSRC=	$$(cd ${MYSQL_PORTDIR} && ${MAKE} -V WRKSRC)
+MYSQL_WRKSRC=	$$(cd ${PORTSDIR}/${_MYSQL_SERVER} && ${MAKE} -V WRKSRC)
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dougb 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jan 11 18:40:22 UTC 2012 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164028 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Jan 11 18:40:25 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164028 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: raven428@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/164028: Fix devel/pinba_engine to work with mariadb
Date: Wed, 11 Jan 2012 18:40:24 UT

 Maintainer of devel/pinba_engine,
 
 Please note that PR ports/164028 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164028
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: dougb 
State-Changed-When: Fri Jan 13 09:43:56 UTC 2012 
State-Changed-Why:  

Committed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164028 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/164028: commit references a PR
Date: Fri, 13 Jan 2012 09:43:48 +0000 (UTC)

 dougb       2012-01-13 09:43:29 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/pinba_engine   Makefile 
   Log:
   Fix this port for MYSQL_VER=52. If it turns out later that someone actually
   has a problem with it then it can be added to IGNORE_WITH_MYSQL.
   
   Meanwhile, this fix accomplishes the same thing as the previous code without
   the bogus intermediate MYSQL_PORTDIR directory that was not being generated
   in a way that actually worked for mariadb.
   
   PR:             ports/164028
   Submitted by:   dougb
   Approved by:    Complete lack of maintainer response (per rm)
   
   Revision  Changes    Path
   1.5       +3 -4      ports/devel/pinba_engine/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
