mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
j: no -Werror
This commit is contained in:
parent
7c28167694
commit
88a8bbbc8a
2 changed files with 6 additions and 4 deletions
|
@ -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
1
srcpkgs/j/update
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pattern='refs/tags/j?\K[0-9]+-release(-[a-z])?(?=.tar.gz)'
|
Loading…
Add table
Reference in a new issue