diff options
author | Pacho Ramos <pacho@gentoo.org> | 2012-03-04 10:27:52 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2012-03-04 10:27:52 +0000 |
commit | b947b6ea4914160a6d98b9accfba43a56935b814 (patch) | |
tree | 34c86c3ff10796ffdaa982362888973f1945a667 /app-admin/analog/analog-6.0-r4.ebuild | |
parent | Move binary file away from CVS tree (diff) | |
download | gentoo-2-b947b6ea4914160a6d98b9accfba43a56935b814.tar.gz gentoo-2-b947b6ea4914160a6d98b9accfba43a56935b814.tar.bz2 gentoo-2-b947b6ea4914160a6d98b9accfba43a56935b814.zip |
Fix compilation, bug #398617 by Marcin Kowalski.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/analog/analog-6.0-r4.ebuild')
-rw-r--r-- | app-admin/analog/analog-6.0-r4.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app-admin/analog/analog-6.0-r4.ebuild b/app-admin/analog/analog-6.0-r4.ebuild index b23ce0ef7d57..75567e07d727 100644 --- a/app-admin/analog/analog-6.0-r4.ebuild +++ b/app-admin/analog/analog-6.0-r4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/analog/analog-6.0-r4.ebuild,v 1.9 2011/07/15 15:25:21 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/analog/analog-6.0-r4.ebuild,v 1.10 2012/03/04 10:27:52 pacho Exp $ EAPI=4 @@ -24,6 +24,8 @@ src_prepare() { cd src/ epatch "${FILESDIR}/${PN}-5.1-gentoo.diff" epatch "${FILESDIR}/${P}-bzip2.patch" + epatch "${FILESDIR}/${P}-undefined-macro.patch" + sed -i Makefile \ -e 's| -o | $(LDFLAGS)&|g' \ || die "sed Makefile" @@ -33,11 +35,11 @@ src_compile() { tc-export CC # emake in main dir just executes "cd src && make", # i.e. MAKEOPTS are ignored - emake -C src || die "make failed" + emake -C src } src_install() { - dobin analog || die "dobin failed" + dobin analog newman analog.man analog.1 dodoc README.txt Licence.txt analog.cfg |