Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2010 03:11:09 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152590: databases/mysql55-server Mark broken on pre FreeBSD 9.0 if dtrace support is enabled
Message-ID:  <201011260311.oAQ3B9Yl077928@red.freebsd.org>
Resent-Message-ID: <201011260320.oAQ3K9KZ051064@freefall.freebsd.org>

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

>Number:         152590
>Category:       ports
>Synopsis:       databases/mysql55-server Mark broken on pre FreeBSD 9.0 if dtrace support is enabled
>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:   Fri Nov 26 03:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        FreeBSD 8.1-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
Though mysql 5.5 will compile with dtrace support on FreeBSD pre 9.0, it wont run because userland dtrace support is missing.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/mysql55-server/Makefile,v
retrieving revision 1.266
diff -u -r1.266 Makefile
--- Makefile	19 Nov 2010 22:28:39 -0000	1.266
+++ Makefile	26 Nov 2010 03:08:31 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME?=	mysql
 PORTVERSION=	5.5.7
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	databases ipv6
 MASTER_SITES=	${MASTER_SITE_MYSQL}
 MASTER_SITE_SUBDIR=	MySQL-5.5
@@ -125,6 +125,10 @@
 BROKEN=		does not build on 6.X
 .endif
 
+.if (${OSVERSION} < 900021) && defined(WITH_DTRACE)
+BROKEN=		Need userland DTrace support found in FreeBSD 9.0
+.endif
+
 pre-fetch:
 	@${ECHO} ""
 	@${ECHO} "You may use the following build options:"


>Release-Note:
>Audit-Trail:
>Unformatted:



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