cleanup packages: fix configure warnings with PKG_BUILD_FLAGS=-cfg-libs

This commit is contained in:
Rudi Heitbaum 2024-09-15 03:36:30 +00:00
parent 46fec4402f
commit 6e4c58df89
27 changed files with 27 additions and 8 deletions

View File

@ -10,7 +10,7 @@ PKG_URL="http://www.harding.motd.ca/autossh/autossh-${PKG_VERSION}.tgz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Automatically restart SSH sessions and tunnels."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot"
PKG_BUILD_FLAGS="-sysroot -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes"

View File

@ -10,6 +10,7 @@ PKG_URL="https://strace.io/files/${PKG_VERSION}/strace-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="strace is a diagnostic, debugging and instructional userspace utility"
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs"
if [ "${TARGET_ARCH}" = x86_64 -o "${TARGET_ARCH}" = "aarch64" ]; then
PKG_CONFIGURE_OPTS_TARGET="--enable-mpers=no"

View File

@ -10,6 +10,7 @@ PKG_SITE="https://www.gnu.org/software/autoconf-archive/"
PKG_URL="http://ftpmirror.gnu.org/autoconf-archive/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host"
PKG_LONGDESC="autoconf-archive is an package of m4 macros"
PKG_BUILD_FLAGS="-cfg-libs:host"
PKG_CONFIGURE_OPTS_HOST="--target=${TARGET_NAME} --prefix=${TOOLCHAIN}"

View File

@ -10,6 +10,7 @@ PKG_SITE="https://www.gnu.org/software/autoconf/"
PKG_URL="https://ftpmirror.gnu.org/autoconf/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host m4:host gettext:host"
PKG_LONGDESC="A GNU tool for automatically configuring source code."
PKG_BUILD_FLAGS="-cfg-libs:host"
PKG_CONFIGURE_OPTS_HOST="EMACS=no \
ac_cv_path_M4=${TOOLCHAIN}/bin/m4 \

View File

@ -9,7 +9,7 @@ PKG_SITE="http://sources.redhat.com/automake/"
PKG_URL="http://ftpmirror.gnu.org/automake/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host autoconf:host"
PKG_LONGDESC="A GNU tool for automatically creating Makefiles."
PKG_BUILD_FLAGS="-parallel"
PKG_BUILD_FLAGS="-parallel -cfg-libs:host"
PKG_CONFIGURE_OPTS_HOST="--target=${TARGET_NAME} --disable-silent-rules"

View File

@ -10,7 +10,7 @@ PKG_SITE="http://www.gnu.org/software/bison/"
PKG_URL="http://ftpmirror.gnu.org/bison/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host m4:host"
PKG_LONGDESC="A general-purpose parser generator."
PKG_BUILD_FLAGS="-parallel"
PKG_BUILD_FLAGS="-parallel -cfg-libs:host"
PKG_CONFIGURE_OPTS_HOST="--disable-rpath --with-gnu-ld"

View File

@ -9,6 +9,7 @@ PKG_SITE="http://www.gnome.org"
PKG_URL="http://launchpad.net/intltool/trunk/${PKG_VERSION}/+download/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="ccache:host"
PKG_LONGDESC="Tools to translate strings from various source files (.xml.in, .glade, .desktop.in, .server.in, .oaf.in)."
PKG_BUILD_FLAGS="-cfg-libs:host"
post_makeinstall_host() {
mkdir -p ${SYSROOT_PREFIX}/usr/share/aclocal

View File

@ -9,6 +9,7 @@ PKG_SITE="http://fstrcmp.sourceforge.net/"
PKG_URL="https://downloads.sourceforge.net/project/fstrcmp/fstrcmp/$(get_pkg_version_maj_min)/fstrcmp-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="The fstrcmp project provides a library that is used to make fuzzy comparisons of strings and byte arrays, including multi-byte character strings."
PKG_BUILD_FLAGS="-cfg-libs"
pre_configure_target() {
cd "${PKG_BUILD}"

View File

@ -9,6 +9,7 @@ PKG_SITE="http://www.gnu.org/software/m4/"
PKG_URL="http://ftpmirror.gnu.org/m4/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_HOST="ccache:host"
PKG_LONGDESC="The m4 macro processor."
PKG_BUILD_FLAGS="-cfg-libs:host"
PKG_CONFIGURE_OPTS_HOST="gl_cv_func_gettimeofday_clobber=no --target=${TARGET_NAME}"

View File

@ -10,7 +10,7 @@ PKG_SITE="https://www.gnu.org/software/make/"
PKG_URL="http://ftpmirror.gnu.org/make/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST=""
PKG_LONGDESC="Utility to maintain groups of programs."
PKG_BUILD_FLAGS="+local-cc"
PKG_BUILD_FLAGS="+local-cc -cfg-libs:host"
post_makeinstall_host() {
ln -sf make ${TOOLCHAIN}/bin/gmake

View File

@ -10,3 +10,4 @@ PKG_URL="https://github.com/NixOS/patchelf/releases/download/${PKG_VERSION}/patc
PKG_DEPENDS_HOST="autotools:host"
PKG_LONGDESC="A small utility to modify the dynamic linker and RPATH of ELF executables"
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs:host"

View File

@ -10,7 +10,7 @@ PKG_SITE="http://www.jedsoft.org/slang/"
PKG_URL="https://www.jedsoft.org/releases/slang/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A library designed to allow a developer to create robust multi-platform software."
PKG_BUILD_FLAGS="-parallel"
PKG_BUILD_FLAGS="-parallel -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--without-pcre \
--without-onig"

View File

@ -9,6 +9,7 @@ PKG_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
PKG_URL="https://download.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Linux CIFS userspace utilities"
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes \

View File

@ -10,3 +10,4 @@ PKG_SITE="https://www.kernel.org/pub/software/network/ethtool/"
PKG_URL="https://www.kernel.org/pub/software/network/ethtool/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain libmnl"
PKG_LONGDESC="Ethtool is used for querying settings of an ethernet device and changing them."
PKG_BUILD_FLAGS="-cfg-libs"

View File

@ -11,7 +11,7 @@ PKG_URL="https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/${PKG_NAME}-${PKG_
PKG_DEPENDS_TARGET="toolchain openssl zlib"
PKG_LONGDESC="An open re-implementation of the SSH package."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="+lto"
PKG_BUILD_FLAGS="+lto -cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_rpc_types_h=no \
--sysconfdir=/etc/ssh \

View File

@ -10,6 +10,7 @@ PKG_SITE="http://rpcbind.sourceforge.net/"
PKG_URL="${SOURCEFORGE_SRC}/rpcbind/rpcbind/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libtirpc systemd"
PKG_LONGDESC="The rpcbind utility is a server that converts RPC program numbers into universal addresses."
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_rpcsvc_mount_h=no \
--disable-warmstarts \

View File

@ -11,7 +11,7 @@ PKG_DEPENDS_TARGET="autotools:host gcc:host nss:host nspr:host"
PKG_DEPENDS_UNPACK="nss"
PKG_LONGDESC="Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions"
PKG_TOOLCHAIN="configure"
PKG_BUILD_FLAGS="-parallel"
PKG_BUILD_FLAGS="-parallel -cfg-libs"
if [ "${TARGET_ARCH}" = "x86_64" ]; then
TARGET_USE_64="--enable-64bit"

View File

@ -12,6 +12,7 @@ PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_DEPENDS_INIT="toolchain"
PKG_LONGDESC="dosfstools contains utilities for making and checking MS-DOS FAT filesystems."
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host -cfg-libs:init"
PKG_CONFIGURE_OPTS_TARGET="--enable-compat-symlinks"
PKG_MAKE_OPTS_TARGET="PREFIX=/usr"

View File

@ -12,7 +12,7 @@ PKG_DEPENDS_HOST="autotools:host"
PKG_DEPENDS_TARGET="autotools:host gcc:host"
PKG_DEPENDS_INIT="autotools:host gcc:host"
PKG_LONGDESC="The filesystem utilities for the EXT2 filesystem, including e2fsck, mke2fs, dumpe2fs, fsck, and others."
PKG_BUILD_FLAGS="-parallel"
PKG_BUILD_FLAGS="-parallel -cfg-libs -cfg-libs:host -cfg-libs:init"
PKG_CONFIGURE_OPTS_HOST="--prefix=${TOOLCHAIN}/ \
--bindir=${TOOLCHAIN}/bin \

View File

@ -11,6 +11,7 @@ PKG_URL="https://github.com/LibreELEC/eventlircd/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain systemd lirc"
PKG_LONGDESC="The eventlircd daemon provides four functions for LIRC devices"
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--with-udev-dir=/usr/lib/udev \
--with-lircd-socket=/run/lirc/lircd"

View File

@ -10,5 +10,6 @@ PKG_SITE="http://www.gnu.org/software/sed/"
PKG_URL="https://mirrors.kernel.org/gnu/sed/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host"
PKG_LONGDESC="The sed (Stream EDitor) editor is a stream or batch (non-interactive) editor."
PKG_BUILD_FLAGS="-cfg-libs:host"
PKG_CONFIGURE_OPTS_HOST="--disable-nls --disable-acl --without-selinux"

View File

@ -10,6 +10,7 @@ PKG_URL="http://netcologne.dl.sourceforge.net/project/xmlstar/${PKG_NAME}/${PKG_
PKG_DEPENDS_HOST="libxml2:host libxslt:host"
PKG_DEPENDS_TARGET="toolchain libxml2 libxslt"
PKG_LONGDESC="XMLStarlet is a command-line XML utility which allows the modification and validation of XML documents."
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host"
PKG_CONFIGURE_OPTS_HOST=" ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes \

View File

@ -13,6 +13,7 @@ PKG_DEPENDS_TARGET="toolchain flex freetype:host gettext:host grub:host"
PKG_DEPENDS_UNPACK="gnulib"
PKG_LONGDESC="GRUB is a Multiboot boot loader."
PKG_TOOLCHAIN="configure"
PKG_BUILD_FLAGS="-cfg-libs -cfg-libs:host"
pre_configure_host() {
unset CFLAGS

View File

@ -11,3 +11,4 @@ PKG_URL="http://ftpmirror.gnu.org/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.bz2
PKG_DEPENDS_HOST="toolchain:host"
PKG_LONGDESC="mtools: A collection of utilities to access MS-DOS disks"
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs:host"

View File

@ -10,6 +10,7 @@ PKG_SITE="https://www.nano-editor.org/"
PKG_URL="https://www.nano-editor.org/dist/v${PKG_VERSION%%.*}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain ncurses"
PKG_LONGDESC="Nano is an enhanced clone of the Pico text editor."
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--disable-utf8 \
--disable-nls \

View File

@ -10,6 +10,7 @@ PKG_URL="https://releases.pagure.org/newt/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain slang popt"
PKG_LONGDESC="Newt is a programming library for color text mode, widget based user interfaces."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--without-python \

View File

@ -10,6 +10,7 @@ PKG_SITE="https://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/util/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="X.org autoconf utilities such as M4 macros."
PKG_BUILD_FLAGS="-cfg-libs"
post_makeinstall_target() {
rm -rf ${INSTALL}/usr