1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Add support for armv6

PR:		201307
Submitted by:	rpaulo
Reviewed by:	glewis
This commit is contained in:
Sean Bruno 2015-09-18 15:47:07 +00:00
parent 3270d07cb7
commit c2203f8ad1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397256
2 changed files with 9 additions and 2 deletions

View File

@ -16,18 +16,19 @@ LICENSE= GPLv2
RUN_DEPENDS= java-zoneinfo>0:${PORTSDIR}/java/java-zoneinfo
BUNDLE_LIBS= yes
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS= amd64 i386 armv6
DISTINFO_FILE= ${.CURDIR}/distinfo.${ARCH}
DISTVERSION_amd64= r351880
DISTVERSION_i386= r351880
DISTVERSION_armv6= r378760
JDK_NAME= openjdk
JDK_PORT= openjdk6
JDK_ROOT= bootstrap-${JDK_NAME}
NO_BUILD= yes
PLIST_SUB= ARCH=${ARCH} JDK_NAME=${JDK_NAME} JDK_ROOT=${JDK_ROOT}
PLIST_SUB= ARCH=${ARCH:S/armv6/arm/} JDK_NAME=${JDK_NAME} JDK_ROOT=${JDK_ROOT}
USES= tar:xz
WRKSRC= ${WRKDIR}/${JDK_ROOT}
@ -42,6 +43,10 @@ PLIST_SUB+= LIBSTDCXX="@comment "
.include <bsd.port.pre.mk>
.if ${ARCH} == "armv6"
JDK_PORT= openjdk7
.endif
.if ${ARCH} == "i386"
PLIST_SUB+= CLIENTVM=""
.else

View File

@ -0,0 +1,2 @@
SHA256 (openjdk7-armv6-r378760.tar.xz) = 4b4ca5f1ae2d4bd32a969fef4163f165538309672ede83e33116fccfea181c8e
SIZE (openjdk7-armv6-r378760.tar.xz) = 25109864