common: cleanup trailing whitespaces
This commit is contained in:
parent
d2f4069ccb
commit
12e6985c34
14 changed files with 19 additions and 19 deletions
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# This build-helper is used for packages that make use of
|
# This build-helper is used for packages that make use of
|
||||||
# the GObject introspection middleware layer.
|
# the GObject introspection middleware layer.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Check if the 'gir' build_option is set or if there is no
|
# Check if the 'gir' build_option is set or if there is no
|
||||||
# 'gir' build_option.
|
# 'gir' build_option.
|
||||||
|
@ -13,12 +13,12 @@ if [ "$build_option_gir" ] || [[ $build_options != *"gir"* ]]; then
|
||||||
# and its wrappers.
|
# and its wrappers.
|
||||||
hostmakedepends+=" gobject-introspection"
|
hostmakedepends+=" gobject-introspection"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Required for running binaries produced from g-ir-compiler
|
# Required for running binaries produced from g-ir-compiler
|
||||||
# via g-ir-scanner-qemuwrapper
|
# via g-ir-scanner-qemuwrapper
|
||||||
hostmakedepends+=" qemu-user-static"
|
hostmakedepends+=" qemu-user-static"
|
||||||
|
|
||||||
# Required for running the g-ir-scanner-lddwrapper
|
# Required for running the g-ir-scanner-lddwrapper
|
||||||
hostmakedepends+=" prelink-cross"
|
hostmakedepends+=" prelink-cross"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
_XBPS_CROSS_RUST_TARGET_ENV="${_XBPS_CROSS_RUST_TARGET_ENV//-/_}"
|
_XBPS_CROSS_RUST_TARGET_ENV="${_XBPS_CROSS_RUST_TARGET_ENV//-/_}"
|
||||||
export CARGO_TARGET_${_XBPS_CROSS_RUST_TARGET_ENV}_LINKER="$CC"
|
export CARGO_TARGET_${_XBPS_CROSS_RUST_TARGET_ENV}_LINKER="$CC"
|
||||||
unset _XBPS_CROSS_RUST_TARGET_ENV
|
unset _XBPS_CROSS_RUST_TARGET_ENV
|
||||||
|
|
||||||
# Define equivalent of TOML config in environment
|
# Define equivalent of TOML config in environment
|
||||||
# [build]
|
# [build]
|
||||||
# target = ${RUST_TARGET}
|
# target = ${RUST_TARGET}
|
||||||
|
@ -39,7 +39,7 @@ export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"
|
||||||
export GETTEXT_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
|
export GETTEXT_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
|
||||||
|
|
||||||
# libssh2-sys
|
# libssh2-sys
|
||||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||||
|
|
||||||
# sodium-sys
|
# sodium-sys
|
||||||
export SODIUM_LIB_DIR="${XBPS_CROSS_BASE}/usr/include"
|
export SODIUM_LIB_DIR="${XBPS_CROSS_BASE}/usr/include"
|
||||||
|
|
|
@ -15,7 +15,7 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
if [ -z "$make_cmd" ] && [ -z "$make_check_target" ]; then
|
if [ -z "$make_cmd" ] && [ -z "$make_check_target" ]; then
|
||||||
if make -q check 2>/dev/null; then
|
if make -q check 2>/dev/null; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
|
|
|
@ -5,7 +5,7 @@ do_install() {
|
||||||
: ${gem_cmd:=gem}
|
: ${gem_cmd:=gem}
|
||||||
|
|
||||||
local _GEMDIR _INSTDIR
|
local _GEMDIR _INSTDIR
|
||||||
|
|
||||||
_GEMDIR=$($gem_cmd env gemdir)
|
_GEMDIR=$($gem_cmd env gemdir)
|
||||||
_INSTDIR=${DESTDIR}/${_GEMDIR}/gems/${pkgname#ruby-}-${version}
|
_INSTDIR=${DESTDIR}/${_GEMDIR}/gems/${pkgname#ruby-}-${version}
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,7 @@ do_install() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
|
||||||
local _TARGET_PLATFORM _TARGET_EXT_DIR
|
local _TARGET_PLATFORM _TARGET_EXT_DIR
|
||||||
|
|
||||||
# Get arch of the target and host platform by reading the rbconfig.rb
|
# Get arch of the target and host platform by reading the rbconfig.rb
|
||||||
# of the cross ruby
|
# of the cross ruby
|
||||||
_TARGET_PLATFORM="$(ruby -r \
|
_TARGET_PLATFORM="$(ruby -r \
|
||||||
|
|
|
@ -16,7 +16,7 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
if [ -z "$make_cmd" ] && [ -z "$make_check_target" ]; then
|
if [ -z "$make_cmd" ] && [ -z "$make_check_target" ]; then
|
||||||
if make -q check 2>/dev/null; then
|
if make -q check 2>/dev/null; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
|
|
|
@ -18,7 +18,7 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
if [ -z "$make_cmd" ] && [ -z "$make_check_target" ]; then
|
if [ -z "$make_cmd" ] && [ -z "$make_check_target" ]; then
|
||||||
if make -q check 2>/dev/null; then
|
if make -q check 2>/dev/null; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# build_style=slashpackage
|
# build_style=slashpackage
|
||||||
# build_wrksrc=${pkgname}-${version}
|
# build_wrksrc=${pkgname}-${version}
|
||||||
# distfiles=<download link>
|
# distfiles=<download link>
|
||||||
#
|
#
|
||||||
# example (daemontools)
|
# example (daemontools)
|
||||||
#
|
#
|
||||||
# Template file for 'daemontools'
|
# Template file for 'daemontools'
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# into /.xbps_chroot_init
|
# into /.xbps_chroot_init
|
||||||
#
|
#
|
||||||
# The supported way to make use of thie chroot-style is to create
|
# The supported way to make use of thie chroot-style is to create
|
||||||
# a root filesystem that has base-chroot and git installed and
|
# a root filesystem that has base-chroot and git installed and
|
||||||
# have it inside a container engine like Docker.
|
# have it inside a container engine like Docker.
|
||||||
#
|
#
|
||||||
# Docker example:
|
# Docker example:
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
# -R http://mirrors.servercentral.com/voidlinux/current \
|
# -R http://mirrors.servercentral.com/voidlinux/current \
|
||||||
# -S base-chroot
|
# -S base-chroot
|
||||||
# $ tar -pC /tmp/image -c . | sudo docker import - voidlinux/masterdir
|
# $ tar -pC /tmp/image -c . | sudo docker import - voidlinux/masterdir
|
||||||
# $ rm -rf /tmp/image
|
# $ rm -rf /tmp/image
|
||||||
# # docker run --rm -it \
|
# # docker run --rm -it \
|
||||||
# -e XBPS_CHROOT_CMD=ethereal \
|
# -e XBPS_CHROOT_CMD=ethereal \
|
||||||
# -e XBPS_ALLOW_CHROOT_BREAKOUT=yes \
|
# -e XBPS_ALLOW_CHROOT_BREAKOUT=yes \
|
||||||
|
|
|
@ -81,10 +81,10 @@ libIDL_cv_long_long_format=ll
|
||||||
## ac_cv_alignof_CORBA_short=2
|
## ac_cv_alignof_CORBA_short=2
|
||||||
## ac_cv_alignof_CORBA_struct=1
|
## ac_cv_alignof_CORBA_struct=1
|
||||||
## ac_cv_alignof_CORBA_wchar=2
|
## ac_cv_alignof_CORBA_wchar=2
|
||||||
##
|
##
|
||||||
## lf_cv_sane_realloc=yes
|
## lf_cv_sane_realloc=yes
|
||||||
as_cv_unaligned_access=${as_cv_unaligned_access=no}
|
as_cv_unaligned_access=${as_cv_unaligned_access=no}
|
||||||
##
|
##
|
||||||
## #unfs3
|
## #unfs3
|
||||||
## nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0}
|
## nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0}
|
||||||
## nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
|
## nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
|
||||||
|
|
|
@ -99,7 +99,7 @@ acx_working_snprintf=${acx_working_snprintf=yes}
|
||||||
# libidl
|
# libidl
|
||||||
libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
|
libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
|
||||||
|
|
||||||
# libnet
|
# libnet
|
||||||
ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
|
ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
|
||||||
|
|
||||||
# libpcap
|
# libpcap
|
||||||
|
|
|
@ -120,7 +120,7 @@ lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes}
|
||||||
# libidl
|
# libidl
|
||||||
libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
|
libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
|
||||||
|
|
||||||
# libnet
|
# libnet
|
||||||
ac_cv_lbl_unaligned_fail=${ac_cv_lbl_unaligned_fail=no}
|
ac_cv_lbl_unaligned_fail=${ac_cv_lbl_unaligned_fail=no}
|
||||||
ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
|
ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
# xlint.sh
|
# xlint.sh
|
||||||
|
|
||||||
[ "$XLINT" ] || exit 0
|
[ "$XLINT" ] || exit 0
|
||||||
|
|
||||||
EXITCODE=0
|
EXITCODE=0
|
||||||
read base tip < /tmp/revisions
|
read base tip < /tmp/revisions
|
||||||
|
|
|
@ -22,7 +22,7 @@ consistency_convert_pkgname () {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case "$dep" in
|
case "$dep" in
|
||||||
*\<*|*\>*|*=*)
|
*\<*|*\>*|*=*)
|
||||||
printf "%s %s %s\n" "$dep" "$origname" "$deplabel"
|
printf "%s %s %s\n" "$dep" "$origname" "$deplabel"
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue