summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-09-01 07:40:36 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-09-01 07:40:36 +0000
commitc23cdae81aa58c9510a1be9a2710f73d4aa75542 (patch)
tree9691d46fb14a6463a302371340c88c23f323dfe3 /x11-plugins/wmjsql
parent Honour Gentoo LDFLAGS. Closes bug #335425. (diff)
downloadgentoo-2-c23cdae81aa58c9510a1be9a2710f73d4aa75542.tar.gz
gentoo-2-c23cdae81aa58c9510a1be9a2710f73d4aa75542.tar.bz2
gentoo-2-c23cdae81aa58c9510a1be9a2710f73d4aa75542.zip
Honour Gentoo LDFLAGS. Closes bug #332291.
Some magic sed to allow parallel make. (Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmjsql')
-rw-r--r--x11-plugins/wmjsql/ChangeLog8
-rw-r--r--x11-plugins/wmjsql/wmjsql-0.5.ebuild10
2 files changed, 14 insertions, 4 deletions
diff --git a/x11-plugins/wmjsql/ChangeLog b/x11-plugins/wmjsql/ChangeLog
index edae0742a38f..d1d243199e5a 100644
--- a/x11-plugins/wmjsql/ChangeLog
+++ b/x11-plugins/wmjsql/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/wmjsql
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmjsql/ChangeLog,v 1.11 2009/06/04 00:27:18 tcunha Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmjsql/ChangeLog,v 1.12 2010/09/01 07:40:36 s4t4n Exp $
+
+ 01 Sep 2010; Michele Noberasco <s4t4n@gentoo.org> wmjsql-0.5.ebuild:
+ Honour Gentoo LDFLAGS. Closes bug #332291.
+ Some magic sed to allow parallel make.
04 Jun 2009; Tiago Cunha <tcunha@gentoo.org> wmjsql-0.5.ebuild:
stable sparc, bug 215651
diff --git a/x11-plugins/wmjsql/wmjsql-0.5.ebuild b/x11-plugins/wmjsql/wmjsql-0.5.ebuild
index 266336288e9f..89148d9c9ea5 100644
--- a/x11-plugins/wmjsql/wmjsql-0.5.ebuild
+++ b/x11-plugins/wmjsql/wmjsql-0.5.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmjsql/wmjsql-0.5.ebuild,v 1.12 2010/07/22 14:32:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmjsql/wmjsql-0.5.ebuild,v 1.13 2010/09/01 07:40:36 s4t4n Exp $
+
+EAPI=2
IUSE=""
@@ -23,10 +25,14 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="ppc sparc x86"
+src_prepare() {
+ sed -i "s/make/\$(MAKE)/g" src/Makefile
+}
+
src_compile() {
cd "${S}"/src
make clean
- emake CFLAGS="${CFLAGS}" || die
+ emake CFLAGS="${CFLAGS}" SYSTEM="${LDFLAGS}" || die
}
src_install() {