Lines 12-19
Link Here
|
12 |
|
12 |
|
13 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
14 |
|
14 |
|
15 |
ONLY_FOR_ARCHS= amd64 i386 |
15 |
ONLY_FOR_ARCHS= amd64 i386 powerpc64 |
16 |
|
16 |
|
|
|
17 |
PATCH_SITES= https://github.com/battleblow/openjdk-jdk11u/commit/ |
18 |
PATCHFILES= c4e25a965b5dd79bb975b0301264abbbf5bd1680.patch:-p1 |
19 |
|
17 |
BUILD_DEPENDS= zip:archivers/zip \ |
20 |
BUILD_DEPENDS= zip:archivers/zip \ |
18 |
autoconf>0:devel/autoconf \ |
21 |
autoconf>0:devel/autoconf \ |
19 |
${LOCALBASE}/include/cups/cups.h:print/cups \ |
22 |
${LOCALBASE}/include/cups/cups.h:print/cups \ |
Lines 36-47
Link Here
|
36 |
CLASSPATH="" \ |
39 |
CLASSPATH="" \ |
37 |
JAVA_HOME="" \ |
40 |
JAVA_HOME="" \ |
38 |
LD_LIBRARY_PATH="" \ |
41 |
LD_LIBRARY_PATH="" \ |
39 |
CC=/usr/bin/cc \ |
42 |
CC=${CC} \ |
40 |
CXX=/usr/bin/c++ \ |
43 |
CXX=${CXX} \ |
41 |
MAKEFLAGS="" \ |
44 |
CPP=${CPP} \ |
42 |
USE_CLANG=true |
45 |
MAKEFLAGS="" |
43 |
|
46 |
|
44 |
JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/} |
47 |
JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} |
45 |
JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-normal-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} |
48 |
JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-normal-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} |
46 |
JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk |
49 |
JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk |
47 |
INSTALLDIR= ${PREFIX}/${PKGBASE} |
50 |
INSTALLDIR= ${PREFIX}/${PKGBASE} |
Lines 55-62
Link Here
|
55 |
BSD_JDK_VERSION= 1 |
58 |
BSD_JDK_VERSION= 1 |
56 |
|
59 |
|
57 |
GNU_CONFIGURE= yes |
60 |
GNU_CONFIGURE= yes |
58 |
CONFIGURE_ENV= CC=/usr/bin/cc \ |
61 |
CONFIGURE_ENV= CC=${CC} \ |
59 |
CXX=/usr/bin/c++ |
62 |
CXX=${CXX} \ |
|
|
63 |
CPP=${CPP} |
60 |
CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ |
64 |
CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ |
61 |
--disable-ccache \ |
65 |
--disable-ccache \ |
62 |
--disable-javac-server \ |
66 |
--disable-javac-server \ |
Lines 74-80
Link Here
|
74 |
--with-libpng=system \ |
78 |
--with-libpng=system \ |
75 |
--with-zlib=system \ |
79 |
--with-zlib=system \ |
76 |
--with-lcms=system \ |
80 |
--with-lcms=system \ |
77 |
--with-toolchain-type=clang \ |
|
|
78 |
--x-includes=${LOCALBASE}/include \ |
81 |
--x-includes=${LOCALBASE}/include \ |
79 |
--x-libraries=${LOCALBASE}/lib \ |
82 |
--x-libraries=${LOCALBASE}/lib \ |
80 |
--with-cacerts-file=${FILESDIR}/cacerts \ |
83 |
--with-cacerts-file=${FILESDIR}/cacerts \ |
Lines 107-112
Link Here
|
107 |
|
110 |
|
108 |
JDK_BUILD_JVM= server |
111 |
JDK_BUILD_JVM= server |
109 |
|
112 |
|
|
|
113 |
MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} |
114 |
|
115 |
.if ${ARCH} == powerpc64 |
116 |
USE_GCC= yes |
117 |
CONFIGURE_ARGS+= --disable-warnings-as-errors \ |
118 |
--disable-dtrace \ |
119 |
--with-log=trace \ |
120 |
--with-extra-ldflags="-Wl,-rpath=/usr/local/lib/gcc${GCC_DEFAULT} -L/usr/local/lib/gcc${GCC_DEFAULT}" \ |
121 |
--with-extra-cflags="-Wl,-rpath=/usr/local/lib/gcc${GCC_DEFAULT}" \ |
122 |
--with-extra-cxxflags="-Wl,-rpath=/usr/local/lib/gcc${GCC_DEFAULT}" |
123 |
.endif |
124 |
|
110 |
.if empty(ICONV_LIB) |
125 |
.if empty(ICONV_LIB) |
111 |
ICONV_CFLAGS= -DLIBICONV_PLUG |
126 |
ICONV_CFLAGS= -DLIBICONV_PLUG |
112 |
.else |
127 |
.else |