Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2010 12:14:49 +0100 (IST)
From:      Conor McDermottroe <ports@mcdermottroe.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150621: [MAINTAINER] [PATCH] Mark devel/pecl-xhprof as buildable only on i386/amd64 with cpuset_t
Message-ID:  <20100916111449.26A29C5A857@statler.boards.ie>
Resent-Message-ID: <201009161150.o8GBo0bX078178@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 16 11:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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