summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2012-05-21 13:05:22 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2012-05-21 13:05:22 +0000
commit04f25000ffdc9359c19593944e7601f2142d859e (patch)
tree6375480c4303f9a26698d793dd5fe1394467a1ab /sci-mathematics
parentRemove USE="test" mask for app-text/asciidoc because media-sound/lilypond is ... (diff)
downloadgentoo-2-04f25000ffdc9359c19593944e7601f2142d859e.tar.gz
gentoo-2-04f25000ffdc9359c19593944e7601f2142d859e.tar.bz2
gentoo-2-04f25000ffdc9359c19593944e7601f2142d859e.zip
Version bump. Remove old.
(Portage version: 2.1.10.49/cvs/Linux i686)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/spin/ChangeLog10
-rw-r--r--sci-mathematics/spin/files/spin-6.2.1-makefile.patch21
-rw-r--r--sci-mathematics/spin/spin-6.2.1.ebuild (renamed from sci-mathematics/spin/spin-6.0.1.ebuild)20
3 files changed, 37 insertions, 14 deletions
diff --git a/sci-mathematics/spin/ChangeLog b/sci-mathematics/spin/ChangeLog
index 83024ea6dbee..524d5080ecbd 100644
--- a/sci-mathematics/spin/ChangeLog
+++ b/sci-mathematics/spin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-mathematics/spin
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/spin/ChangeLog,v 1.7 2011/05/05 11:16:02 phajdan.jr Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/spin/ChangeLog,v 1.8 2012/05/21 13:05:22 phajdan.jr Exp $
+
+*spin-6.2.1 (21 May 2012)
+
+ 21 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> -spin-6.0.1.ebuild,
+ +spin-6.2.1.ebuild, +files/spin-6.2.1-makefile.patch:
+ Version bump. Remove old.
*spin-6.1.0 (05 May 2011)
diff --git a/sci-mathematics/spin/files/spin-6.2.1-makefile.patch b/sci-mathematics/spin/files/spin-6.2.1-makefile.patch
new file mode 100644
index 000000000000..9133f54f9fac
--- /dev/null
+++ b/sci-mathematics/spin/files/spin-6.2.1-makefile.patch
@@ -0,0 +1,21 @@
+--- makefile.orig 2012-05-21 14:59:56.000000000 +0200
++++ makefile 2012-05-21 15:00:47.000000000 +0200
+@@ -13,9 +13,6 @@
+
+ # see also ./make_pc for a simpler script, not requiring make
+
+-CC=gcc
+-CFLAGS=-O2 -DNXT # on some systems add: -I/usr/include
+-
+ # CC=gcc -m32 # 32bit compilation on a 64bit system
+ # for a more picky compilation use gcc-4 and:
+ # CFLAGS=-std=c99 -Wstrict-prototypes -pedantic -fno-strength-reduce -fno-builtin -W -Wshadow -Wpointer-arith -Wcast-qual -Winline -Wall -g -DNXT -DPC
+@@ -43,7 +40,7 @@
+ tl_mem.o tl_rewrt.o tl_cache.o
+
+ spin: $(SPIN_OS) $(TL_OS) spin.o
+- $(CC) $(CFLAGS) -o spin spin.o $(SPIN_OS) $(TL_OS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o spin spin.o $(SPIN_OS) $(TL_OS)
+
+ spin.o: spin.y
+ $(YACC) $(YFLAGS) spin.y
diff --git a/sci-mathematics/spin/spin-6.0.1.ebuild b/sci-mathematics/spin/spin-6.2.1.ebuild
index cbf3c23ca55a..9015abebca72 100644
--- a/sci-mathematics/spin/spin-6.0.1.ebuild
+++ b/sci-mathematics/spin/spin-6.2.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/spin/spin-6.0.1.ebuild,v 1.2 2011/01/05 00:04:13 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/spin/spin-6.2.1.ebuild,v 1.1 2012/05/21 13:05:22 phajdan.jr Exp $
-EAPI="2"
+EAPI="4"
inherit eutils versionator
@@ -29,19 +29,15 @@ RDEPEND="sys-devel/gcc
S="${WORKDIR}/Spin/Src${PV}"
src_prepare() {
- epatch "${FILESDIR}/${PN}-6.0.1-makefile.patch"
-}
-
-src_compile() {
- emake -j1 || die
+ epatch "${FILESDIR}/${PN}-6.2.1-makefile.patch"
}
src_install() {
- dobin spin || die
- doman ../Man/spin.1 || die
- dodoc ../Doc/* || die
+ dobin spin
+ doman ../Man/spin.1
+ dodoc ../Doc/*
if use tk; then
- newbin "${WORKDIR}/Spin/iSpin/ispin.tcl" ispin || die
+ newbin "${WORKDIR}/Spin/iSpin/ispin.tcl" ispin
make_desktop_entry ispin
fi
}