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 pkgname=syslinux
version=4.04 version=4.04
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2" distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_makefile build_style=custom-install
make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version"
short_desc="A boot loader for the Linux operating system" short_desc="A boot loader for the Linux operating system"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project" 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 (such as DOS) from nontraditional media; it is usually used in conjunction with
PXELINUX and ISOLINUX." PXELINUX and ISOLINUX."
broken_as_needed=yes
Add_dependency run glibc Add_dependency run glibc
Add_dependency build perl Add_dependency build perl
Add_dependency build nasm Add_dependency build nasm
Add_dependency build xz Add_dependency build xz
pre_build() do_build()
{ {
# Disable this file which causes an error. # 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 mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
} }