Lines 5-11
Link Here
|
5 |
|
5 |
|
6 |
EAPI="2" |
6 |
EAPI="2" |
7 |
|
7 |
|
8 |
inherit autotools pax-utils java-pkg-2 java-vm-2 |
8 |
inherit autotools pax-utils java-pkg-2 java-vm-2 flag-o-matic |
9 |
|
9 |
|
10 |
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies" |
10 |
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies" |
11 |
OPENJDK_TARBALL="0d76c4da605f.tar.gz" |
11 |
OPENJDK_TARBALL="0d76c4da605f.tar.gz" |
Lines 37-43
Link Here
|
37 |
|
37 |
|
38 |
LICENSE="GPL-2-with-linking-exception" |
38 |
LICENSE="GPL-2-with-linking-exception" |
39 |
SLOT="7" |
39 |
SLOT="7" |
40 |
#KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
40 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
41 |
|
41 |
|
42 |
RDEPEND=">=net-print/cups-1.2.12 |
42 |
RDEPEND=">=net-print/cups-1.2.12 |
43 |
>=x11-libs/libX11-1.1.3 |
43 |
>=x11-libs/libX11-1.1.3 |
Lines 101-112
Link Here
|
101 |
|
101 |
|
102 |
# quite a hack since java-config does not provide a way for a package |
102 |
# quite a hack since java-config does not provide a way for a package |
103 |
# to limit supported VM's for building and their preferred order |
103 |
# to limit supported VM's for building and their preferred order |
104 |
if has_version dev-java/icedtea6; then |
104 |
# Pull icedtea in front in order to build icedtea with itself instead of |
|
|
105 |
# with icedtea6 in case we have icedtea already installed. |
106 |
if has_version dev-java/icedtea; then |
107 |
JAVA_PKG_FORCE_VM="icedtea" |
108 |
elif has_version dev-java/icedtea6; then |
105 |
JAVA_PKG_FORCE_VM="icedtea6" |
109 |
JAVA_PKG_FORCE_VM="icedtea6" |
106 |
elif has_version dev-java/icedtea6-bin; then |
110 |
elif has_version dev-java/icedtea6-bin; then |
107 |
JAVA_PKG_FORCE_VM="icedtea6-bin" |
111 |
JAVA_PKG_FORCE_VM="icedtea6-bin" |
108 |
elif has_version dev-java/icedtea; then |
|
|
109 |
JAVA_PKG_FORCE_VM="icedtea" |
110 |
elif has_version dev-java/gcj-jdk; then |
112 |
elif has_version dev-java/gcj-jdk; then |
111 |
JAVA_PKG_FORCE_VM="gcj-jdk" |
113 |
JAVA_PKG_FORCE_VM="gcj-jdk" |
112 |
elif has_version dev-java/cacao; then |
114 |
elif has_version dev-java/cacao; then |
Lines 166-171
Link Here
|
166 |
|
168 |
|
167 |
unset_vars |
169 |
unset_vars |
168 |
|
170 |
|
|
|
171 |
# Filtering of CFLAGS is necessary at least here for building (using gcc 4.3.3-r2 |
172 |
# on x86_64). The build error happens in the JAX-WS component and is caused |
173 |
# because of compilation with -Werror which seems to be "hard coded" |
174 |
# somewhere. |
175 |
export ALLOWED_FLAGS="-march -pipe" |
176 |
strip-flags |
177 |
filter-flags -O* |
178 |
einfo "Using CFLAGS: ${CFLAGS}" |
179 |
|
169 |
econf ${config} \ |
180 |
econf ${config} \ |
170 |
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \ |
181 |
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \ |
171 |
--with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \ |
182 |
--with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \ |
Lines 225-231
Link Here
|
225 |
pax-mark m $(list-paxables "${ddest}"{,/jre}/bin/*) |
236 |
pax-mark m $(list-paxables "${ddest}"{,/jre}/bin/*) |
226 |
|
237 |
|
227 |
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README || die |
238 |
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README || die |
228 |
dohtml README.html || die |
|
|
229 |
|
239 |
|
230 |
if use examples; then |
240 |
if use examples; then |
231 |
dodir "${dest}/share"; |
241 |
dodir "${dest}/share"; |