summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-12 20:39:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-12 20:39:36 +0000
commita1e15b41c38a91c9ff23ed6d63774085e10e6f82 (patch)
tree77f72843d95827f31044cda0dc9742e7edc1834f /sys-auth/otpcalc
parentRemove unused patch. (diff)
downloadgentoo-2-a1e15b41c38a91c9ff23ed6d63774085e10e6f82.tar.gz
gentoo-2-a1e15b41c38a91c9ff23ed6d63774085e10e6f82.tar.bz2
gentoo-2-a1e15b41c38a91c9ff23ed6d63774085e10e6f82.zip
Respect environment LDFLAGS.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/otpcalc')
-rw-r--r--sys-auth/otpcalc/ChangeLog8
-rw-r--r--sys-auth/otpcalc/otpcalc-0.97-r4.ebuild13
2 files changed, 14 insertions, 7 deletions
diff --git a/sys-auth/otpcalc/ChangeLog b/sys-auth/otpcalc/ChangeLog
index 4592394dca9a..4b8decebf95e 100644
--- a/sys-auth/otpcalc/ChangeLog
+++ b/sys-auth/otpcalc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-auth/otpcalc
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/otpcalc/ChangeLog,v 1.8 2008/11/10 07:15:55 ulm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/otpcalc/ChangeLog,v 1.9 2010/07/12 20:39:36 ssuominen Exp $
+
+ 12 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
+ otpcalc-0.97-r4.ebuild:
+ Respect environment LDFLAGS.
10 Nov 2008; Ulrich Mueller <ulm@gentoo.org> -otpcalc-0.97-r2.ebuild:
Remove old.
diff --git a/sys-auth/otpcalc/otpcalc-0.97-r4.ebuild b/sys-auth/otpcalc/otpcalc-0.97-r4.ebuild
index 3666401e208f..d320ac1aae96 100644
--- a/sys-auth/otpcalc/otpcalc-0.97-r4.ebuild
+++ b/sys-auth/otpcalc/otpcalc-0.97-r4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/otpcalc/otpcalc-0.97-r4.ebuild,v 1.4 2008/11/03 11:21:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/otpcalc/otpcalc-0.97-r4.ebuild,v 1.5 2010/07/12 20:39:36 ssuominen Exp $
inherit eutils
@@ -38,10 +38,13 @@ src_unpack() {
epatch "${FILESDIR}/${P}-sha1-byteorder.patch"
# print correct version in manpage
- sed -i -e "s/VERSION/${PV}/g" otpCalc.man
+ sed -i -e "s/VERSION/${PV}/g" otpCalc.man || die
- # override hardcoded CFLAGS
- sed -i -e "s#-s -O3#${CFLAGS}#g" Makefile.in
+ # override hardcoded FLAGS
+ sed -i \
+ -e 's:$(CC) $(CFLAGS) $^:$(CC) $(LDFLAGS) $(CFLAGS) $^:' \
+ -e "s#-s -O3#${CFLAGS}#g" \
+ Makefile.in || die
}
src_install() {