diff --git a/srcpkgs/mkinitcpio-nfs-utils/template b/srcpkgs/mkinitcpio-nfs-utils/template index 68c55ff2273..165068a78dd 100644 --- a/srcpkgs/mkinitcpio-nfs-utils/template +++ b/srcpkgs/mkinitcpio-nfs-utils/template @@ -1,7 +1,7 @@ # Template file for 'mkinitcpio-nfs-utils' pkgname=mkinitcpio-nfs-utils version=0.3 -revision=1 +revision=2 build_style=gnu-makefile short_desc="Ipconfig and nfsmount tools for NFS root support in mkinitcpio" maintainer="Andrea Brancaleoni " @@ -20,6 +20,9 @@ esac patch_args="-Np1" +post_extract() { + sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' */Makefile +} pre_configure() { case "$XBPS_TARGET_MACHINE" in *-musl) @@ -28,7 +31,6 @@ pre_configure() { ;; esac } - post_install() { vinstall ${FILESDIR}/initcpio-install-net 644 usr/lib/initcpio/install net vinstall ${FILESDIR}/initcpio-hook-net 644 usr/lib/initcpio/hooks net