j: no -Werror
This commit is contained in:
@@ -27,10 +27,10 @@ aarch64*|arm*) _jpl="raspberry";;
|
||||
*) _jpl="linux";;
|
||||
esac
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
*-musl) makedepends+=" musl-fts-devel";;
|
||||
esac
|
||||
|
||||
if [ "${XBPS_TARGET_LIBC}" = musl ]; then
|
||||
makedepends+=" musl-fts-devel"
|
||||
LDFLAGS=-lfts
|
||||
fi
|
||||
|
||||
do_configure() {
|
||||
cp jsrc/jversion-x.h jsrc/jversion.h
|
||||
@@ -54,6 +54,7 @@ do_configure() {
|
||||
/^common="\$common/n;
|
||||
/^common/s/="/&$CFLAGS /;
|
||||
/^LDFLAGS/s/="/&$LDFLAGS /;
|
||||
s/-Werror//
|
||||
/^#!/a\set -o errexit' \
|
||||
make2/build_jconsole.sh make2/build_libj.sh
|
||||
}
|
||||
|
||||
1
srcpkgs/j/update
Normal file
1
srcpkgs/j/update
Normal file
@@ -0,0 +1 @@
|
||||
pattern='refs/tags/j?\K[0-9]+-release(-[a-z])?(?=.tar.gz)'
|
||||
Reference in New Issue
Block a user