summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-10-18 17:29:02 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-10-18 17:29:02 +0000
commit33767a9f10eea90cbf24bfc321ff0752de7e5179 (patch)
tree4cf825a16f58c2ebc8fa41b0a335591d00d1c32f /sys-boot/syslinux
parentWhitespace. (diff)
downloadgentoo-2-33767a9f10eea90cbf24bfc321ff0752de7e5179.tar.gz
gentoo-2-33767a9f10eea90cbf24bfc321ff0752de7e5179.tar.bz2
gentoo-2-33767a9f10eea90cbf24bfc321ff0752de7e5179.zip
Remove old.
(Portage version: 2.2_rc97/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot/syslinux')
-rw-r--r--sys-boot/syslinux/ChangeLog8
-rw-r--r--sys-boot/syslinux/files/syslinux-3.31-nossp.patch172
-rw-r--r--sys-boot/syslinux/files/syslinux-3.72-nopie.patch12
-rw-r--r--sys-boot/syslinux/files/syslinux-3.72-nostrip.patch36
-rw-r--r--sys-boot/syslinux/syslinux-3.83.ebuild45
-rw-r--r--sys-boot/syslinux/syslinux-4.00.ebuild60
-rw-r--r--sys-boot/syslinux/syslinux-4.01.ebuild60
7 files changed, 7 insertions, 386 deletions
diff --git a/sys-boot/syslinux/ChangeLog b/sys-boot/syslinux/ChangeLog
index 826a0651765b..050ef6fcb89c 100644
--- a/sys-boot/syslinux/ChangeLog
+++ b/sys-boot/syslinux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-boot/syslinux
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.73 2010/10/05 21:00:51 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.74 2010/10/18 17:29:01 chithanh Exp $
+
+ 18 Oct 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ -files/syslinux-3.31-nossp.patch, -files/syslinux-3.72-nopie.patch,
+ -files/syslinux-3.72-nostrip.patch, -syslinux-3.83.ebuild,
+ -syslinux-4.00.ebuild, -syslinux-4.01.ebuild:
+ Remove old.
05 Oct 2010; Markus Meier <maekke@gentoo.org> syslinux-4.02.ebuild:
x86 stable, bug #337013
diff --git a/sys-boot/syslinux/files/syslinux-3.31-nossp.patch b/sys-boot/syslinux/files/syslinux-3.31-nossp.patch
deleted file mode 100644
index 157e9e30b943..000000000000
--- a/sys-boot/syslinux/files/syslinux-3.31-nossp.patch
+++ /dev/null
@@ -1,172 +0,0 @@
---- syslinux/Makefile
-+++ syslinux/Makefile
-@@ -18,7 +18,7 @@
- OSTYPE = $(shell uname -msr)
- CC = gcc
- INCLUDE =
--CFLAGS = -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
-+CFLAGS = -W -Wall -fno-stack-protector -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
- PIC = -fPIC
- LDFLAGS = -O2 -s
- AR = ar
-@@ -194,9 +194,8 @@ libsyslinux.a: bootsect_bin.o ldlinux_bi
- $(LIB_SO): bootsect_bin.o ldlinux_bin.o syslxmod.o
- $(CC) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) -o $@ $^
-
--gethostip.o: gethostip.c
--
--gethostip: gethostip.o
-+gethostip: gethostip.c
-+ $(CC) $(LDFLAGS) gethostip.c -o gethostip -fno-stack-protector
-
- mkdiskimage: mkdiskimage.in mbr.bin bin2hex.pl
- $(PERL) bin2hex.pl < mbr.bin | cat mkdiskimage.in - > $@
---- syslinux/com32/lib/MCONFIG
-+++ syslinux/com32/lib/MCONFIG
-@@ -23,7 +23,7 @@
-
- REQFLAGS = -g -m32 -mregparm=3 -DREGPARM=3 -D__COM32__ -I. -I./sys -I../include
- OPTFLAGS = -Os -march=i386 -falign-functions=0 -falign-jumps=0 \
-- -falign-labels=0 -ffast-math -fomit-frame-pointer
-+ -falign-labels=0 -ffast-math -fomit-frame-pointer -fno-stack-protector
- WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
-
- CFLAGS = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d $(OPTFLAGS) \
---- syslinux/com32/libutil/Makefile
-+++ syslinux/com32/libutil/Makefile
-@@ -40,10 +40,10 @@ LD = ld -m elf_i386
- AR = ar
- NASM = nasm
- RANLIB = ranlib
--CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include
-+CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include $(call gcc_ok,-fno-stack-protector,)
- SFLAGS = $(M32) -D__COM32__ -march=i386
- LDFLAGS = -T ../lib/com32.ld
--LNXCFLAGS = -I./include -W -Wall -O -g
-+LNXCFLAGS = -I./include -W -Wall -O -g $(call gcc_ok,-fno-stack-protector,)
- LNXSFLAGS = -g
- LNXLDFLAGS = -g
- OBJCOPY = objcopy
---- syslinux/com32/modules/Makefile
-+++ syslinux/com32/modules/Makefile
-@@ -25,8 +25,8 @@ LD = ld -m elf_i386
- AR = ar
- NASM = nasm
- RANLIB = ranlib
--CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
--LNXCFLAGS = -W -Wall -O -g -I../libutil/include
-+CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__ $(call gcc_ok,-fno-stack-protector,)
-+LNXCFLAGS = -W -Wall -O -g -I../libutil/include $(call gcc_ok,-fno-stack-protector,)
- LNXSFLAGS = -g
- LNXLDFLAGS = -g
- SFLAGS = -D__COM32__ -march=i386
---- syslinux/com32/samples/Makefile
-+++ syslinux/com32/samples/Makefile
-@@ -25,8 +25,8 @@ LD = ld -m elf_i386
- AR = ar
- NASM = nasm
- RANLIB = ranlib
--CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
--LNXCFLAGS = -W -Wall -O -g -I../libutil/include
-+CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__ $(call gcc_ok,-fno-stack-protector,)
-+LNXCFLAGS = -W -Wall -O -g -I../libutil/include $(call gcc_ok,-fno-stack-protector,)
- LNXSFLAGS = -g
- LNXLDFLAGS = -g
- SFLAGS = -D__COM32__ -march=i386
---- syslinux/dos/Makefile
-+++ syslinux/dos/Makefile
-@@ -3,7 +3,7 @@ LD = ld -m elf_i386
- OBJCOPY = objcopy
- OPTFLAGS = -g -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
- INCLUDES = -include code16.h -I. -I.. -I../libfat
--CFLAGS = -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
-+CFLAGS = -W -Wall -fno-stack-protector -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
- LDFLAGS = -T com16.ld
- AR = ar
- RANLIB = ranlib
---- syslinux/extlinux/Makefile
-+++ syslinux/extlinux/Makefile
-@@ -1,7 +1,7 @@
- CC = gcc
- OPTFLAGS = -g -Os
- INCLUDES = -I. -I.. -I../libfat
--CFLAGS = -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
-+CFLAGS = -W -Wall -fno-stack-protector -Wno-sign-compare -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
- LDFLAGS = -s
-
- SRCS = extlinux.c ../extlinux_bss_bin.c ../extlinux_sys_bin.c
---- syslinux/memdisk/Makefile
-+++ syslinux/memdisk/Makefile
-@@ -20,7 +20,7 @@ M32 := $(call gcc_ok,-m32,)
- FREE := $(call gcc_ok,-ffreestanding,)
-
- CC = gcc $(M32) $(FREE)
--CFLAGS = -g -W -Wall -Wno-sign-compare \
-+CFLAGS = -g -W -Wall -Wno-sign-compare $(call gcc_ok,-fno-stack-protector,) \
- -Os -fomit-frame-pointer -march=i386 $(ALIGN) \
- -DVERSION='"$(VERSION)"' -DDATE='"$(DATE)"'
- LDFLAGS = -g
---- syslinux/menu/Makefile
-+++ syslinux/menu/Makefile
-@@ -5,7 +5,7 @@ M32 := $(call gcc_ok,-m32,)
- COM32DIR = ../com32
- LUDIR = $(COM32DIR)/libutil
- LDIR = $(COM32DIR)/lib
--CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I$(LUDIR)/include -I$(COM32DIR)/include -Ilibmenu -D__COM32__
-+CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I$(LUDIR)/include -I$(COM32DIR)/include -Ilibmenu -D__COM32__ $(call gcc_ok,-fno-stack-protector,)
- SFLAGS = -D__COM32__ -march=i386
- LDFLAGS = -T $(LDIR)/com32.ld
- OBJCOPY = objcopy
---- syslinux/mtools/Makefile
-+++ syslinux/mtools/Makefile
-@@ -1,7 +1,7 @@
- CC = gcc
- OPTFLAGS = -g -Os
- INCLUDES = -I. -I.. -I../libfat
--CFLAGS = -W -Wall -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
-+CFLAGS = -W -Wall -fno-stack-protector -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
- LDFLAGS = -s
-
- SRCS = syslinux.c ../syslxmod.c ../bootsect_bin.c ../ldlinux_bin.c $(wildcard ../libfat/*.c)
---- syslinux/sample/Makefile
-+++ syslinux/sample/Makefile
-@@ -25,7 +25,7 @@ LD = ld -m elf_i386
- AR = ar
- NASM = nasm
- RANLIB = ranlib
--CFLAGS = -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include
-+CFLAGS = -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include $(call gcc_ok,-fno-stack-protector,)
- SFLAGS = -march=i386
- LDFLAGS = -s
- OBJCOPY = objcopy
---- syslinux/unix/Makefile
-+++ syslinux/unix/Makefile
-@@ -1,7 +1,7 @@
- CC = gcc
- OPTFLAGS = -g -Os
- INCLUDES = -I. -I.. -I../libfat
--CFLAGS = -W -Wall -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
-+CFLAGS = -W -Wall -fno-stack-protector -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
- LDFLAGS = -s
-
- SRCS = syslinux.c ../syslxmod.c ../bootsect_bin.c ../ldlinux_bin.c $(wildcard ../libfat/*.c)
---- syslinux/win32/Makefile
-+++ syslinux/win32/Makefile
-@@ -23,7 +23,7 @@ ifeq ($(findstring CYGWIN,$(OSTYPE)),CYG
- CC = gcc
- AR = ar
- RANLIB = ranlib
--CFLAGS = -mno-cygwin -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
-+CFLAGS = -mno-cygwin -W -Wall -fno-stack-protector -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
- PIC =
- LDFLAGS = -mno-cygwin -Os -s
- else
-@@ -37,7 +37,7 @@ AR = mingw-ar
- RANLIB = mingw-ranlib
- endif
-
--CFLAGS = -W -Wall -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
-+CFLAGS = -W -Wall -fno-stack-protector -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
- PIC =
- LDFLAGS = -Os -s
- endif
diff --git a/sys-boot/syslinux/files/syslinux-3.72-nopie.patch b/sys-boot/syslinux/files/syslinux-3.72-nopie.patch
deleted file mode 100644
index 2662d17b4387..000000000000
--- a/sys-boot/syslinux/files/syslinux-3.72-nopie.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur a/com32/MCONFIG b/com32/MCONFIG
---- a/com32/MCONFIG 2008-09-26 01:46:02.000000000 +0200
-+++ b/com32/MCONFIG 2008-10-28 16:10:16.107964907 +0100
-@@ -19,6 +19,8 @@
- GCCOPT := $(call gcc_ok,-std=gnu99,) \
- $(call gcc_ok,-m32,) \
- $(call gcc_ok,-fno-stack-protector,) \
-+ $(call gcc_ok,-nopie,) \
-+ $(call gcc_ok,-fno-pie,) \
- -mregparm=3 -DREGPARM=3 -march=i386 -Os
-
- com32 = $(topdir)/com32
diff --git a/sys-boot/syslinux/files/syslinux-3.72-nostrip.patch b/sys-boot/syslinux/files/syslinux-3.72-nostrip.patch
deleted file mode 100644
index a8d0270500a8..000000000000
--- a/sys-boot/syslinux/files/syslinux-3.72-nostrip.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -ur a/linux/Makefile b/linux/Makefile
---- a/linux/Makefile 2008-09-26 01:46:02.000000000 +0200
-+++ b/linux/Makefile 2008-10-28 15:56:25.818399544 +0100
-@@ -20,7 +20,7 @@
- OPTFLAGS = -g -Os
- INCLUDES = -I. -I.. -I../libinstaller
- CFLAGS = -W -Wall -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
--LDFLAGS = -s
-+LDFLAGS =
-
- SRCS = syslinux.c \
- ../libinstaller/syslxmod.c \
-diff -ur a/mtools/Makefile b/mtools/Makefile
---- a/mtools/Makefile 2008-09-26 01:46:02.000000000 +0200
-+++ b/mtools/Makefile 2008-10-28 15:56:45.113477480 +0100
-@@ -4,7 +4,7 @@
- OPTFLAGS = -g -Os
- INCLUDES = -I. -I.. -I../libfat -I../libinstaller
- CFLAGS = -W -Wall -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
--LDFLAGS = -s
-+LDFLAGS =
-
- SRCS = syslinux.c \
- ../libinstaller/syslxmod.c \
-diff -ur a/utils/Makefile b/utils/Makefile
---- a/utils/Makefile 2008-09-26 01:46:02.000000000 +0200
-+++ b/utils/Makefile 2008-10-28 15:56:55.843968018 +0100
-@@ -18,7 +18,7 @@
- include $(topdir)/MCONFIG
-
- CFLAGS = -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
--LDFLAGS = -O2 -s
-+LDFLAGS = -O2
-
- TARGETS = mkdiskimage isohybrid gethostip
- ASIS = keytab-lilo lss16toppm md5pass ppmtolss16 sha1pass syslinux2ansi
diff --git a/sys-boot/syslinux/syslinux-3.83.ebuild b/sys-boot/syslinux/syslinux-3.83.ebuild
deleted file mode 100644
index 554d30e28bcf..000000000000
--- a/sys-boot/syslinux/syslinux-3.83.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.83.ebuild,v 1.4 2010/04/04 21:51:35 chithanh Exp $
-
-inherit eutils
-
-DESCRIPTION="SysLinux, IsoLinux and PXELinux bootloader"
-HOMEPAGE="http://syslinux.zytor.com/"
-SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${PV:0:1}.xx/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-
-RDEPEND="sys-fs/mtools
- dev-perl/Crypt-PasswdMD5
- dev-perl/Digest-SHA1"
-DEPEND="${RDEPEND}
- dev-lang/nasm"
-
-# This ebuild is a departure from the old way of rebuilding everything in syslinux
-# This departure is necessary since hpa doesn't support the rebuilding of anything other
-# than the installers.
-
-# removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-3.72-nopie.patch
- # Don't prestrip, makes portage angry
- epatch "${FILESDIR}"/${PN}-3.72-nostrip.patch
-
- rm -f gethostip #bug 137081
-}
-
-src_compile() {
- emake installer || die
-}
-
-src_install() {
- emake INSTALLSUBDIRS=utils INSTALLROOT="${D}" MANDIR=/usr/share/man install || die
- dodoc README NEWS TODO doc/*
-}
diff --git a/sys-boot/syslinux/syslinux-4.00.ebuild b/sys-boot/syslinux/syslinux-4.00.ebuild
deleted file mode 100644
index f169305a32cf..000000000000
--- a/sys-boot/syslinux/syslinux-4.00.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-4.00.ebuild,v 1.1 2010/06/29 21:59:46 chithanh Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders"
-HOMEPAGE="http://syslinux.zytor.com/"
-SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${PV:0:1}.xx/${P/_/-}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="custom-cflags"
-
-RDEPEND="sys-fs/mtools
- dev-perl/Crypt-PasswdMD5
- dev-perl/Digest-SHA1"
-DEPEND="${RDEPEND}
- dev-lang/nasm"
-
-S=${WORKDIR}/${P/_/-}
-
-# This ebuild is a departure from the old way of rebuilding everything in syslinux
-# This departure is necessary since hpa doesn't support the rebuilding of anything other
-# than the installers.
-
-# removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # Fix building on hardened
- epatch "${FILESDIR}"/${PN}-4.00-nopie.patch
-
- rm -f gethostip #bug 137081
-
- # Don't prestrip or override user LDFLAGS, bug #305783
- local SYSLINUX_MAKEFILES="extlinux/Makefile linux/Makefile mtools/Makefile \
- sample/Makefile utils/Makefile"
- sed -i ${SYSLINUX_MAKEFILES} -e '/^LDFLAGS/d' || die "sed failed"
-
- if use custom-cflags; then
- sed -i ${SYSLINUX_MAKEFILES} \
- -e 's|-g -Os||g' \
- -e 's|-Os||g' \
- -e 's|CFLAGS[[:space:]]\+=|CFLAGS +=|g' \
- || die "sed custom-cflags failed"
- fi
-
-}
-
-src_compile() {
- emake CC=$(tc-getCC) installer || die
-}
-
-src_install() {
- emake INSTALLSUBDIRS=utils INSTALLROOT="${D}" MANDIR=/usr/share/man install || die
- dodoc README NEWS doc/* || die
-}
diff --git a/sys-boot/syslinux/syslinux-4.01.ebuild b/sys-boot/syslinux/syslinux-4.01.ebuild
deleted file mode 100644
index c57aadfd6407..000000000000
--- a/sys-boot/syslinux/syslinux-4.01.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-4.01.ebuild,v 1.1 2010/07/02 21:36:41 chithanh Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders"
-HOMEPAGE="http://syslinux.zytor.com/"
-SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${PV:0:1}.xx/${P/_/-}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="custom-cflags"
-
-RDEPEND="sys-fs/mtools
- dev-perl/Crypt-PasswdMD5
- dev-perl/Digest-SHA1"
-DEPEND="${RDEPEND}
- dev-lang/nasm"
-
-S=${WORKDIR}/${P/_/-}
-
-# This ebuild is a departure from the old way of rebuilding everything in syslinux
-# This departure is necessary since hpa doesn't support the rebuilding of anything other
-# than the installers.
-
-# removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # Fix building on hardened
- epatch "${FILESDIR}"/${PN}-4.00-nopie.patch
-
- rm -f gethostip #bug 137081
-
- # Don't prestrip or override user LDFLAGS, bug #305783
- local SYSLINUX_MAKEFILES="extlinux/Makefile linux/Makefile mtools/Makefile \
- sample/Makefile utils/Makefile"
- sed -i ${SYSLINUX_MAKEFILES} -e '/^LDFLAGS/d' || die "sed failed"
-
- if use custom-cflags; then
- sed -i ${SYSLINUX_MAKEFILES} \
- -e 's|-g -Os||g' \
- -e 's|-Os||g' \
- -e 's|CFLAGS[[:space:]]\+=|CFLAGS +=|g' \
- || die "sed custom-cflags failed"
- fi
-
-}
-
-src_compile() {
- emake CC=$(tc-getCC) installer || die
-}
-
-src_install() {
- emake INSTALLSUBDIRS=utils INSTALLROOT="${D}" MANDIR=/usr/share/man install || die
- dodoc README NEWS doc/* || die
-}