summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-08-31 13:31:32 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-08-31 13:31:32 +0000
commit87f05c6e4785a3a66f6ba3261895808a9e8bd4f1 (patch)
treef6b68437422c673b4e9ba4c129fe728e33b4877a /x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild
parentFix exception for ebuilds with missing digests (diff)
downloadgentoo-2-87f05c6e4785a3a66f6ba3261895808a9e8bd4f1.tar.gz
gentoo-2-87f05c6e4785a3a66f6ba3261895808a9e8bd4f1.tar.bz2
gentoo-2-87f05c6e4785a3a66f6ba3261895808a9e8bd4f1.zip
Honour Gentoo LDFLAGS. Closes bug #334005.
Fixed man page installation. (Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild')
-rw-r--r--x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild b/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild
index f611ff24d83f..8cf080c51968 100644
--- a/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild
+++ b/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.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/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild,v 1.7 2008/12/02 10:51:54 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild,v 1.8 2010/08/31 13:31:32 s4t4n Exp $
inherit eutils
@@ -30,10 +30,17 @@ src_unpack () {
# Do not auto-strip binaries
sed -i 's/ strip $@//' Makefile || die
+
+ # Honour Gentoo LDFLAGS
+ sed -i 's/$(CC) -o/$(CC) $(REAL_LDFLAGS) -o/' Makefile || die
+}
+
+src_compile() {
+ emake REAL_LDFLAGS="${LDFLAGS}" || die "make failed"
}
src_install() {
dobin wmdrawer
dodoc README TODO AUTHORS ChangeLog wmdrawerrc.example
- doman wmdrawer.1
+ doman doc/wmdrawer.1x.gz
}