From conor@statler.boards.ie  Thu Sep 16 11:43:33 2010
Return-Path: <conor@statler.boards.ie>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 66A481065672
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Sep 2010 11:43:33 +0000 (UTC)
	(envelope-from conor@statler.boards.ie)
Received: from relay.digiweb.ie (relay.digiweb.ie [89.234.64.50])
	by mx1.freebsd.org (Postfix) with ESMTP id 2A3698FC18
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Sep 2010 11:43:32 +0000 (UTC)
Received: from statler.boards.ie (unknown [89.234.66.109])
	by relay.digiweb.ie (Postfix) with ESMTP id 479B4566DB6
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Sep 2010 12:14:49 +0100 (IST)
Received: by statler.boards.ie (Postfix, from userid 1001)
	id 26A29C5A857; Thu, 16 Sep 2010 12:14:49 +0100 (IST)
Message-Id: <20100916111449.26A29C5A857@statler.boards.ie>
Date: Thu, 16 Sep 2010 12:14:49 +0100 (IST)
From: Conor McDermottroe <ports@mcdermottroe.com>
Reply-To: Conor McDermottroe <ports@mcdermottroe.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] [PATCH] Mark devel/pecl-xhprof as buildable only on i386/amd64 with cpuset_t
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         150621
>Category:       ports
>Synopsis:       [MAINTAINER] [PATCH] Mark devel/pecl-xhprof as buildable only on i386/amd64 with cpuset_t
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 16 11:50:00 UTC 2010
>Closed-Date:    Thu Sep 16 19:14:56 UTC 2010
>Last-Modified:  Thu Sep 16 19:20:01 UTC 2010
>Originator:     Conor McDermottroe
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD statler.boards.ie 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	Builds of devel/xhprof will fail on non-x86 architectures and it also requires cpuset_t. This patch restricts the port to FreeBSD 7.1+ on i386/amd64.
>How-To-Repeat:
	
>Fix:

diff -ruN pecl-xhprof.orig/Makefile pecl-xhprof/Makefile
--- pecl-xhprof.orig/Makefile	2010-09-16 11:47:35.000000000 +0100
+++ pecl-xhprof/Makefile	2010-09-16 12:09:48.000000000 +0100
@@ -20,5 +20,12 @@
 USE_PHP=	yes
 USE_PHPIZE=	yes
 USE_PHPEXT=	yes
+ONLY_FOR_ARCHS=	i386 amd64
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 701000
+BROKEN=		Does not compile on FreeBSD < 7.1
+.endif
+
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Thu Sep 16 18:46:42 UTC 2010 
Responsible-Changed-Why:  
I will take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150621 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Thu Sep 16 19:14:55 UTC 2010 
State-Changed-Why:  
Committed, Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/150621: commit references a PR
Date: Thu, 16 Sep 2010 19:14:54 +0000 (UTC)

 pgollucci    2010-09-16 19:14:49 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/pecl-xhprof    Makefile 
   Log:
   - Only for i386 and amd64
   
   PR:             ports/150621
   Submitted by:   Conor McDermottroe <ports@mcdermottroe.com> (maintainer)
   
   Revision  Changes    Path
   1.3       +1 -0      ports/devel/pecl-xhprof/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:
