ports/164028: Fix devel/pinba_engine to work with mariadb

Doug Barton dougb at FreeBSD.org
Wed Jan 11 18:40:13 UTC 2012


>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:



More information about the freebsd-ports-bugs mailing list