Power PC Build

Michael Franz mvfranz at gmail.com
Fri Jan 2 15:39:17 PST 2009


Eric,

On Fri, Jan 2, 2009 at 4:32 PM, Eric Richardson <ekrichardson at gmail.com>wrote:
<snip>

>
> I'm able to call make and it downloads the first piece but I have a md5sum
> which doesn't understand the option --check. Don't know if this will be a
> problem on other BSD platforms.
>
> hotspot_md5sum="`gawk 'version==$1 {print $3}' version=14.0b08 \
>       /Users/eric/java/icedtea6/hotspot.map`" ; \
>     if ! echo "${hotspot_md5sum}  hotspot.tar.gz" \
>       | /sw/bin/md5sum --check ; \
>     then \
>       if [ hotspot.tar.gz ] ; \
>       then \
>         mv hotspot.tar.gz hotspot.tar.gz.old ; \
>       fi ; \
>       changeset="`gawk 'version==$1 {print $2}' version=14.0b08 \
>         /Users/eric/java/icedtea6/hotspot.map`" ; \
>       /usr/local/bin/wget
> http://hg.openjdk.java.net/jdk7/hotspot/hotspot/archive/${changeset}.tar.gz<http://hg.openjdk.java.net/jdk7/hotspot/hotspot/archive/$%7Bchangeset%7D.tar.gz>-O hotspot.tar.gz ; \
>     fi
> /sw/bin/md5sum: illegal option -- -
> usage: md5sum [-bv] [-c [file]] | [file...]
> Generates or checks MD5 Message Digests
>     -c  check message digests (default is generate)
>     -v  verbose, print file names when checking
>     -b  read files in binary mode
>

You can install coreutils from macports using the with_default_names variant
to put md5sum into /opt/local/bin .  This version will understand the
--check parameter.

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20090102/db393241/attachment.html 


More information about the bsd-port-dev mailing list