mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
fix(guix-bzip2): install via DESTDIR-prefixed PREFIX to avoid empty package and lost /usr/bin/bzip2
This commit is contained in:
parent
afec884ea5
commit
919200478b
1 changed files with 3 additions and 2 deletions
|
|
@ -12,8 +12,9 @@ src_compile() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${SYSTEM_PREFIX}" DESTDIR="${DESTDIR}" install
|
||||
make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${SEED_PREFIX}" DESTDIR="${DESTDIR}" install
|
||||
# Upstream bzip2 Makefile does not support DESTDIR, so PREFIX must include it.
|
||||
make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${DESTDIR}${SYSTEM_PREFIX}" install
|
||||
make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${DESTDIR}${SEED_PREFIX}" install
|
||||
|
||||
# Fail early if either installed binary is not executable in this environment.
|
||||
"${DESTDIR}${SYSTEM_PREFIX}/bin/bzip2" --help >/dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue