ports/150621: [MAINTAINER] [PATCH] Mark devel/pecl-xhprof as buildable only on i386/amd64 with cpuset_t

Conor McDermottroe ports at mcdermottroe.com
Thu Sep 16 11:50:01 UTC 2010


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



More information about the freebsd-ports-bugs mailing list