Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2012 18:37:46 GMT
From:      Doug Barton <dougb@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/164028: Fix devel/pinba_engine to work with mariadb
Message-ID:  <201201111837.q0BIbk7A092592@freefall.freebsd.org>
Resent-Message-ID: <201201111840.q0BIeC3F092741@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164028
>Category:       ports
>Synopsis:       Fix devel/pinba_engine to work with mariadb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 11 18:40:12 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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