/ is a really bad separator for file name substitution.
Fix: Patch attached with submission follows:
How-To-Repeat: # make -VCC
env CCACHE_PREFIX=/usr/local/bin/distcc /usr/local/bin/ccache cc
===> License accepted by the user
===> Extracting for mupdf-0.6,1
=> MD5 Checksum OK for mupdf-0.6-source.tar.gz.
=> SHA256 Checksum OK for mupdf-0.6-source.tar.gz.
===> Patching for mupdf-0.6,1
sed: 1: "s/CC = .*/CC = env CCAC ...": bad flag in substitute command: 'u'
*** Error code 1
Stop in /usr/ports/graphics/mupdf.
I think using `?=' is better than relying on `|' being not in path.
sed -e '/^CC/s/=/?=/' ...
But I've already submitted it in b.diff in ports/148503.
On 16/07/2010 15:29, Anonymous wrote:
> I think using `?=' is better than relying on `|' being not in path.
> sed -e '/^CC/s/=/?=/' ...
> But I've already submitted it in b.diff in ports/148503.
Oh, I didn't know it uses a compatible make!
I agree, your way is better.
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Q: What is the most annoying thing on usenet and in e-mail?
I'll take it.
bapt 2010-08-04 05:25:07 UTC
FreeBSD ports repository
graphics/mupdf Makefile distinfo
- Respect ports CFLAGS 
- Cleanup REINPLACE_CMD usage 
- Bump PORTREVISION
- Correctly define i386 and amd64 optimisation 
PR: ports/148503  ports/148674 
Submitted by: Dominic Fandrey <kamikaze _at_ bsdforen.de> , Anonymous <swell.k _at_ gmail.com> , Martin Dieringer <martin.dieringer _at_ gmx.de>  (maintainer)
Approved by: tabthorpe@ (co-mentor)
Revision Changes Path
1.8 +16 -7 ports/graphics/mupdf/Makefile
1.6 +3 -3 ports/graphics/mupdf/distinfo
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"
Committed using patch from ports/148503. Thanks!