porting icedtea6 to FreeBSD
Andrew Hughes
ahughes at redhat.com
Tue Apr 17 04:51:23 PDT 2012
----- Original Message -----
> On Mon, Apr 16, 2012 at 09:59:00AM -0400, Andrew Hughes thus spake:
> >> Any thoughts on any of this?
> >> Thanks, again.
> >>
> >> -jgh
> >
> >What are you doing here?
> >
> >/usr/bin/sed -i.bak -e 's|--dry-run||g'
> >/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.am
> >/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.in
> >/usr/bin/sed -i.bak -e 's|--check|-q|g'
> >/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.am
> >/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.in
> >
> >If you're removing --dry-run, you're going to be applying the patch
> >twice, which is why it's failing.
> >--
> >Andrew :)
>
> I've modified this to test the patch which in FreeBSD is the "-C"
> switch,
> and the "-q" is for SHASUM's to only output the hash.
>
> I was able to get much further in the build! Any thoughts on why this
> patch
> was seen as already applied?
>
Because the build tests the patch, then applies it if that passes. If you
removed --dry-run from the first invocation and didn't replace it with -C,
you'd be applying the patch twice instead.
> -jgh
>
> --
> Jason Helfman | FreeBSD Committer
> jgh at FreeBSD.org | http://people.freebsd.org/~jgh
>
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
More information about the distro-pkg-dev
mailing list