syslinux: needs broken_as_needed to build.

This commit is contained in:
Juan RP 2011-07-07 17:45:05 +02:00
parent 3c71b7ca1e
commit 2bbfbf621e

View file

@ -2,8 +2,7 @@
pkgname=syslinux
version=4.04
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_makefile
make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version"
build_style=custom-install
short_desc="A boot loader for the Linux operating system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project"
@ -16,18 +15,22 @@ long_desc="
(such as DOS) from nontraditional media; it is usually used in conjunction with
PXELINUX and ISOLINUX."
broken_as_needed=yes
Add_dependency run glibc
Add_dependency build perl
Add_dependency build nasm
Add_dependency build xz
pre_build()
do_build()
{
# Disable this file which causes an error.
sed -i -e 's|win32/syslinux.exe||g' $wrksrc/Makefile
sed -i -e 's|win32/syslinux.exe||g' Makefile
make ${makejobs}
}
post_install()
do_install()
{
make INSTALLROOT=${DESTDIR} install
mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
}