j: no -Werror

This commit is contained in:
Đoàn Trần Công Danh 2022-12-05 21:27:34 +07:00
parent 7c28167694
commit 88a8bbbc8a
2 changed files with 6 additions and 4 deletions

View file

@ -27,10 +27,10 @@ aarch64*|arm*) _jpl="raspberry";;
*) _jpl="linux";; *) _jpl="linux";;
esac esac
case "${XBPS_TARGET_MACHINE}" in if [ "${XBPS_TARGET_LIBC}" = musl ]; then
*-musl) makedepends+=" musl-fts-devel";; makedepends+=" musl-fts-devel"
esac LDFLAGS=-lfts
fi
do_configure() { do_configure() {
cp jsrc/jversion-x.h jsrc/jversion.h cp jsrc/jversion-x.h jsrc/jversion.h
@ -54,6 +54,7 @@ do_configure() {
/^common="\$common/n; /^common="\$common/n;
/^common/s/="/&$CFLAGS /; /^common/s/="/&$CFLAGS /;
/^LDFLAGS/s/="/&$LDFLAGS /; /^LDFLAGS/s/="/&$LDFLAGS /;
s/-Werror//
/^#!/a\set -o errexit' \ /^#!/a\set -o errexit' \
make2/build_jconsole.sh make2/build_libj.sh make2/build_jconsole.sh make2/build_libj.sh
} }

1
srcpkgs/j/update Normal file
View file

@ -0,0 +1 @@
pattern='refs/tags/j?\K[0-9]+-release(-[a-z])?(?=.tar.gz)'