ports/148503: [patch] graphics/mupdf: remove forceful optimization
Anonymous
swell.k at gmail.com
Mon Jul 12 01:50:07 UTC 2010
The following reply was made to PR ports/148503; it has been noted by GNATS.
From: Anonymous <swell.k at gmail.com>
To: bug-followup at 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 at 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 ---
More information about the freebsd-ports-bugs
mailing list