David Runge pushed to branch main at Arch Linux / Packaging / Packages /
libguestfs
Commits:
e4f74a8b by David Runge at 2023-08-10T10:26:34+02:00
Move configure options to local bash array for easier handling.
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -118,18 +118,20 @@ prepare() {
}
build() {
+ local configure_options=(
+ --disable-haskell
+ --disable-static
+ --prefix=/usr
+ --sbindir=/usr/bin
+ --sysconfdir=/etc
+ --with-extra-packages="libldm systemd-sysvcompat openssh qemu"
+ --with-guestfs-path=/usr/lib/guestfs
+ )
+
cd $pkgname-$pkgver
# TODO: build haskell bindings
CFLAGS+=" -ffat-lto-objects" \
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --sbindir=/usr/bin \
- --disable-static \
- --disable-haskell \
- --with-extra-packages="libldm systemd-sysvcompat openssh qemu" \
- --with-guestfs-path=/usr/lib/guestfs
-
+ ./configure "${configure_options[@]}"
make
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libguestfs/-/commit/e4f74a8b35cbd122f1ed8ebc52e2c7ffef4d8a97
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libguestfs/-/commit/e4f74a8b35cbd122f1ed8ebc52e2c7ffef4d8a97
You're receiving this email because of your account on gitlab.archlinux.org.