summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurligebis@gentoo.org>2010-10-10 19:09:57 +0000
committerBjarke Istrup Pedersen <gurligebis@gentoo.org>2010-10-10 19:09:57 +0000
commit0db9a3524ee96a205604497dadafb77d658fe304 (patch)
tree0f1d78342617448256fb40d5bcfc83a864eb04ab /net-misc/efax
parentFix openmotif dependency. Change EAPI to 1. (diff)
downloadgentoo-2-0db9a3524ee96a205604497dadafb77d658fe304.tar.gz
gentoo-2-0db9a3524ee96a205604497dadafb77d658fe304.tar.bz2
gentoo-2-0db9a3524ee96a205604497dadafb77d658fe304.zip
Fixing LDFLAGS problem
(Portage version: 2.2_rc91/cvs/Linux i686)
Diffstat (limited to 'net-misc/efax')
-rw-r--r--net-misc/efax/ChangeLog9
-rw-r--r--net-misc/efax/efax-0.9a-r2.ebuild33
2 files changed, 40 insertions, 2 deletions
diff --git a/net-misc/efax/ChangeLog b/net-misc/efax/ChangeLog
index 570e5676a925..3e401778e086 100644
--- a/net-misc/efax/ChangeLog
+++ b/net-misc/efax/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/efax
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/efax/ChangeLog,v 1.10 2008/12/30 18:04:51 mpagano Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/efax/ChangeLog,v 1.11 2010/10/10 19:09:56 gurligebis Exp $
+
+*efax-0.9a-r2 (10 Oct 2010)
+
+ 10 Oct 2010; <gurligebis@gentoo.org> +efax-0.9a-r2.ebuild:
+ Fixing LDFLAGS problem wrt. bug #335609
30 Dec 2008; Mike Pagano <mpagano@gentoo.org> efax-0.9a-r1.ebuild:
Respect compiler and cflags as per bug #241062
diff --git a/net-misc/efax/efax-0.9a-r2.ebuild b/net-misc/efax/efax-0.9a-r2.ebuild
new file mode 100644
index 000000000000..2aa3d547786a
--- /dev/null
+++ b/net-misc/efax/efax-0.9a-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/efax/efax-0.9a-r2.ebuild,v 1.1 2010/10/10 19:09:57 gurligebis Exp $
+
+EAPI="2"
+
+inherit eutils
+
+S="${WORKDIR}/${P}-001114"
+DESCRIPTION="A simple fax program for single-user systems"
+SRC_URI="http://www.cce.com/efax/download/${P}-001114.tar.gz"
+HOMEPAGE="http://www.cce.com/efax/"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+SLOT="0"
+LICENSE="GPL-2"
+
+src_prepare () {
+ epatch "${FILESDIR}/${P}-segfault.patch"
+
+ # remove strip command as per bug #240932
+ sed -i -e '/strip/d' Makefile
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "compilation failed"
+}
+
+src_install () {
+ dobin efax efix fax || die "dobin failed"
+ doman efax.1 efix.1 fax.1
+ dodoc README
+}