summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2012-01-08 15:25:53 +0000
committerMark Wright <gienah@gentoo.org>2012-01-08 15:25:53 +0000
commit9cce9627b9396ed9f789abe419d9d85e3c3f813e (patch)
treeae9b13efeec593a8b7cf82d135b0037b0275ac29 /dev-lang/polyml
parentFix missing deps: bug #395405, bug #397343, apply patch to fix bug #395099, s... (diff)
downloadgentoo-2-9cce9627b9396ed9f789abe419d9d85e3c3f813e.tar.gz
gentoo-2-9cce9627b9396ed9f789abe419d9d85e3c3f813e.tar.bz2
gentoo-2-9cce9627b9396ed9f789abe419d9d85e3c3f813e.zip
Thanks to few_ and xarthisius for reviewing, remove econf repetition, - on use flag, src_compile and src_install were just like defaults
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/polyml')
-rw-r--r--dev-lang/polyml/ChangeLog8
-rw-r--r--dev-lang/polyml/polyml-5.4.1.ebuild21
2 files changed, 13 insertions, 16 deletions
diff --git a/dev-lang/polyml/ChangeLog b/dev-lang/polyml/ChangeLog
index e482e4ca5436..426c34292e52 100644
--- a/dev-lang/polyml/ChangeLog
+++ b/dev-lang/polyml/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/polyml
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/polyml/ChangeLog,v 1.4 2012/01/08 10:24:08 gienah Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/polyml/ChangeLog,v 1.5 2012/01/08 15:25:53 gienah Exp $
+
+ 08 Jan 2012; Mark Wright <gienah@gentoo.org> polyml-5.4.1.ebuild:
+ Thanks to few_ and xarthisius for reviewing, remove econf repetition, - on
+ use flag, src_compile and src_install were just like defaults
*polyml-5.4.1 (08 Jan 2012)
diff --git a/dev-lang/polyml/polyml-5.4.1.ebuild b/dev-lang/polyml/polyml-5.4.1.ebuild
index bbfc6cb5b358..7571494a9201 100644
--- a/dev-lang/polyml/polyml-5.4.1.ebuild
+++ b/dev-lang/polyml/polyml-5.4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/polyml/polyml-5.4.1.ebuild,v 1.1 2012/01/08 10:24:08 gienah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/polyml/polyml-5.4.1.ebuild,v 1.2 2012/01/08 15:25:53 gienah Exp $
EAPI="4"
@@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="X +gmp -portable +threads"
+IUSE="X +gmp portable +threads"
RDEPEND="X? ( x11-libs/openmotif )
gmp? ( >=dev-libs/gmp-5 )
@@ -27,16 +27,9 @@ S=${WORKDIR}/${MY_P}
PATCHES=("${FILESDIR}/${PN}-5.4.1-asm.patch")
src_configure() {
- econf $(use_with X x)
- econf $(use_with gmp)
- econf $(use_with portable)
- econf $(use_with threads)
-}
-
-src_compile() {
- emake
-}
-
-src_install() {
- emake DESTDIR="${D}" install
+ econf \
+ $(use_with X x) \
+ $(use_with gmp) \
+ $(use_with portable) \
+ $(use_with threads)
}