diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/openjdk8/APKBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/community/openjdk8/APKBUILD b/community/openjdk8/APKBUILD index 62aa8c6d0d..bf3a83262a 100644 --- a/community/openjdk8/APKBUILD +++ b/community/openjdk8/APKBUILD @@ -81,6 +81,11 @@ unpack() { prepare() { cd "$builddir" + local ver_u=$(sed -En 's/^JDK_UPDATE_VERSION\s*=\s*(\S+).*/\1/p' Makefile.am) + local ver_b=$(sed -En 's/^BUILD_VERSION\s*=\s*b(\S+).*/\1/p' Makefile.am) + [ "${pkgver#*.}" = "$ver_u.$ver_b" ] \ + || die "Version mismatch, source is 8.$ver_u.$ver_b, but abuild defines $pkgver!" + # Busybox sha256 does not support longopts. sed -e "s/--check/-c/g" -i Makefile.am |