Date: Mon, 12 Jul 2010 01:50:06 GMT From: Anonymous <swell.k@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/148503: [patch] graphics/mupdf: remove forceful optimization Message-ID: <201007120150.o6C1o6bR075819@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/148503; it has been noted by GNATS. From: Anonymous <swell.k@gmail.com> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/148503: [patch] graphics/mupdf: remove forceful optimization Date: Mon, 12 Jul 2010 05:45:10 +0400 Anonymous <swell.k@gmail.com> writes: > + -e 's/CC = .*/CC = ${CC}/g' \ Well, I've overlooked but above expression does not allow using path in CC that contains slashes, e.g. /usr/local/bin/gcc45. > + ${WRKSRC}/Makerules --- b.diff begins here --- --- graphics/mupdf/Makefile~ +++ graphics/mupdf/Makefile @@ -50,7 +50,8 @@ post-patch: .SILENT ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's/LAGS :=/LAGS +=/g' \ -e 's/Linux/FreeBSD/g' \ - -e 's/CC = .*/CC = ${CC}/g' \ + -e '/^CC/s/=/?=/' \ + -e '/-O3/d' \ -e '/-msse/d' \ ${WRKSRC}/Makerules --- b.diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007120150.o6C1o6bR075819>