Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2009 09:30:03 GMT
From:      Anonymous <swell.k@gmail.com>
To:        freebsd-x11@FreeBSD.org
Subject:   Re: ports/133175: [patch] x11/pixman: enable SSE2 support autodetection
Message-ID:  <200903290930.n2T9U3JG033884@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/133175; it has been noted by GNATS.

From: Anonymous <swell.k@gmail.com>
To: bf <bf2006a@yahoo.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/133175: [patch] x11/pixman: enable SSE2 support autodetection
Date: Sun, 29 Mar 2009 13:28:50 +0400

 bf <bf2006a@yahoo.com> writes:
 
 > Changes of this kind could break binary packages built,
 > for example, by the FreeBSD package-building cluster, when used
 > on older machines.
 
 Oops, forgot about packages. How about this patch
 
 --- pixman-add-simd-option.diff begins here ---
 Index: x11/pixman/Makefile
 ===================================================================
 RCS file: /home/csup/ports/x11/pixman/Makefile,v
 retrieving revision 1.9
 diff -u -p -r1.9 Makefile
 --- x11/pixman/Makefile	13 Feb 2009 06:39:40 -0000	1.9
 +++ x11/pixman/Makefile	29 Mar 2009 09:08:38 -0000
 @@ -17,8 +17,21 @@ USE_AUTOTOOLS=	libtool:15
  USE_PERL5_BUILD=yes
  USE_GNOME=	ltverhack:9
  
 +OPTIONS=	SIMD "Enable autodection of SIMD features (MMX, SSE2, VMX)" off
 +
 +.include <bsd.port.pre.mk>
 +
 +.if defined(WITHOUT_SIMD)
 +CONFIGURE_ARGS=	--disable-vmx --disable-arm-simd
 +
 +.if ${ARCH:Namd64}
 +CONFIGURE_ARGS+=	--disable-mmx --disable-sse2
 +.endif
 +
 +.endif
 +
  post-patch:
  	@${REINPLACE_CMD} -e 's|gtk+-2\.0|disable-gtk|g' \
 -		-e 's|-msse||' ${WRKSRC}/configure
 +		${WRKSRC}/configure
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 --- pixman-add-simd-option.diff ends here ---



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