syslinux: fix subtle bug with removal of DOS targets

This commit is contained in:
Nero 2017-04-11 23:52:15 +00:00 committed by Christian Neukirchen
parent b5eddd4477
commit 43fc99b77d
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'syslinux' # Template file for 'syslinux'
pkgname=syslinux pkgname=syslinux
version=6.03 version=6.03
revision=3 revision=4
hostmakedepends="perl python nasm" hostmakedepends="perl python nasm"
makedepends="gnu-efi-libs libuuid-devel" makedepends="gnu-efi-libs libuuid-devel"
short_desc="A boot loader for the Linux operating system" short_desc="A boot loader for the Linux operating system"
@ -17,7 +17,7 @@ pre_build() {
# Do not try to build the Windows or DOS installers and DIAG files # Do not try to build the Windows or DOS installers and DIAG files
sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile sed 's|diag libinstaller dos win32 win64 dosutil txt|libinstaller txt|g' -i Makefile
sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile sed 's|win32/syslinux.exe win64/syslinux64.exe||g' -i Makefile
sed 's|dosutil/*.com dosutil/*.sys||g' -i Makefile sed 's|dosutil/\*.com dosutil/\*.sys||g' -i Makefile
sed 's|dos/syslinux.com||g' -i Makefile sed 's|dos/syslinux.com||g' -i Makefile
sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile sed 's|INSTALLSUBDIRS = com32 utils dosutil|INSTALLSUBDIRS = com32 utils|g' -i Makefile
sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile sed 's|install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|# install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)|g' -i Makefile