|
|
DEPEND="${RDEPEND} | DEPEND="${RDEPEND} |
x86? ( dev-lang/nasm ) | x86? ( dev-lang/nasm ) |
sys-apps/gawk | sys-apps/gawk |
sys-devel/gettext |
|
dev-util/pkgconfig" | dev-util/pkgconfig" |
| |
src_unpack() { | src_unpack() { |
|
|
# ldflag asneeded on non glibc systems. Fix | # ldflag asneeded on non glibc systems. Fix |
# broken asm causing text relocations. | # broken asm causing text relocations. |
epatch "${FILESDIR}"/${P}-asneeded.patch | epatch "${FILESDIR}"/${P}-asneeded.patch |
epatch "${FILESDIR}"/${P}-cflags.patch |
|
epatch "${FILESDIR}"/${P}-asm.patch | epatch "${FILESDIR}"/${P}-asm.patch |
| |
# Fix build with gcc 4.3, bug #199579 | # Fix build with gcc 4.3, bug #199579 |
epatch "${FILESDIR}/${P}-gcc-4.3-includes.patch" | epatch "${FILESDIR}/${P}-gcc-4.3-includes.patch" |
|
|
AT_M4DIR="m4" eautoreconf |
|
} | } |
| |
src_compile() { | src_compile() { |
|
|
--disable-dependency-tracking \ | --disable-dependency-tracking \ |
--disable-xmms-plugin | --disable-xmms-plugin |
| |
emake || die "emake failed." |
emake CFLAGS="$CFLAGS" || die "emake failed." |
} | } |
| |
src_install() { | src_install() { |