From nobody@FreeBSD.org  Fri Nov 26 03:11:09 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C9613106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Nov 2010 03:11:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id B7A918FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Nov 2010 03:11:09 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oAQ3B9Eu077929
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Nov 2010 03:11:09 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id oAQ3B9Yl077928;
	Fri, 26 Nov 2010 03:11:09 GMT
	(envelope-from nobody)
Message-Id: <201011260311.oAQ3B9Yl077928@red.freebsd.org>
Date: Fri, 26 Nov 2010 03:11:09 GMT
From: Sevan Janiyan <venture37@geeklan.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: databases/mysql55-server Mark broken on pre FreeBSD 9.0 if dtrace support is enabled
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 26 03:20:09 UTC 2010
>Closed-Date:    Fri Nov 26 09:36:20 UTC 2010
>Last-Modified:  Fri Nov 26 09:40:12 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Nov 26 03:20:14 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152590 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Fri Nov 26 09:36:09 UTC 2010 
State-Changed-Why:  
Fixed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/152590: commit references a PR
Date: Fri, 26 Nov 2010 09:36:01 +0000 (UTC)

 ale         2010-11-26 09:35:56 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/mysql55-server Makefile 
   Log:
   Allow to enable userland dtrace only on supported FreeBSD versions.
   
   PR:             ports/152590
   Submitted by:   Sevan Janiyan <venture37@geeklan.co.uk>
   
   Revision  Changes    Path
   1.267     +9 -6      ports/databases/mysql55-server/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:
