mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
Fix spkgbuild
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
efibootmgr-17-1
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/efibootmgr
|
||||
|
||||
@@ -10,7 +10,11 @@ source="$name-$version.tar.gz::https://github.com/rhboot/efibootmgr/archive/$ver
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -Np1 -i $SRC/efivar.patch
|
||||
export CFLAGS="${CFLAGS} -Wno-error=pointer-sign"
|
||||
|
||||
# removing hotfix function declaration:
|
||||
# https://github.com/rhboot/efibootmgr/issues/128
|
||||
sed -e '/extern int efi_set_verbose/d' -i "src/$name.c"
|
||||
|
||||
EFIDIR=/boot/efi make
|
||||
install -D src/efibootmgr $PKG/usr/sbin/efibootmgr
|
||||
|
||||
Reference in New Issue
Block a user