Date: Sat, 18 Sep 2010 11:52:22 +0400 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/150698: [patch] graphics/mupdf: restore some vendor CFLAGS Message-ID: <86aanfh4jt.fsf@gmail.com> Resent-Message-ID: <201009180800.o8I80GJq064367@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150698 >Category: ports >Synopsis: [patch] graphics/mupdf: restore some vendor CFLAGS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 18 08:00:15 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: NOT tested on i386 >Description: ports/148503 broke build for HAVE_CPUDEP on i386. Runtime CPU detection relies on MMX/SSE/etc compiler features enabled. >How-To-Repeat: >Fix: Attepmt to fix without downgrading _CPUCFLAGS optimization. --- a.diff begins here --- Index: graphics/mupdf/Makefile =================================================================== RCS file: /a/.cvsup/ports/graphics/mupdf/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- graphics/mupdf/Makefile 18 Sep 2010 06:41:12 -0000 1.9 +++ graphics/mupdf/Makefile 18 Sep 2010 07:39:07 -0000 @@ -19,8 +19,6 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/prin jbig2dec.0:${PORTSDIR}/graphics/jbig2dec \ openjpeg.2:${PORTSDIR}/graphics/openjpeg -BROKEN= does not build - USE_GMAKE= yes MAKE_ARGS+= build=release prefix=${PREFIX} WRKSRC= ${WRKDIR}/${PORTNAME} @@ -54,7 +52,8 @@ post-patch: .SILENT -e 's/Linux/FreeBSD/g' \ -e '/^CC/s/=/?=/' \ -e '/-O3/d' \ - -e '/-msse/d' \ + -e 's/-DARCH_X86//' \ + -e 's/-march=k8/-m3dnow/' \ ${WRKSRC}/Makerules .include <bsd.port.mk> --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86aanfh4jt.fsf>