[PATCH] Add a BUILD_DISTRIBUTOR variable to the build process

Diego 'Flameeyes' Pettenò flameeyes at gmail.com
Mon May 14 22:53:47 UTC 2007


As OpenJDK is likely to get packaged by a few distributions, it might
be useful to add an indication of the distribution used on the -version
output for the java command.

As all the variables available in Defs.gmk don't seem to put a string
before the full version, I've prepared the attached patch. With this,
by passing BUILD_DISTRIBUTOR=Gentoo, I get the following output:

flame at enterprise ~ % java -version
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build
Gentoo-1.7.0-internal-portage_14_may_2007_23_47-b00) OpenJDK 64-Bit
Server VM (build Gentoo-1.7.0-internal-portage_14_may_2007_23_47-b00,
mixed mode)

Hope this might help to make sure that the eventually patched versions
are not mistaken for a vanilla version.

-- 
Diego "Flameeyes" Pettenò
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk-tag-distributor.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20070515/ba1af061/openjdk-tag-distributor.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20070515/ba1af061/signature.asc>


More information about the build-dev mailing list