mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +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";;
|
||||
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)'
|
Loading…
Add table
Reference in a new issue