summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-01-30 06:51:04 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-01-30 06:51:04 +0000
commit24583b4e53a02dc710932d004a32f767f29008e8 (patch)
tree8c51eb39ad9fafda5170ceb491168749e2f999a5 /dev-lang
parentBump (diff)
downloadgentoo-2-24583b4e53a02dc710932d004a32f767f29008e8.tar.gz
gentoo-2-24583b4e53a02dc710932d004a32f767f29008e8.tar.bz2
gentoo-2-24583b4e53a02dc710932d004a32f767f29008e8.zip
Bump
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/bas/ChangeLog11
-rw-r--r--dev-lang/bas/bas-2.3.ebuild41
-rw-r--r--dev-lang/bas/files/bas-2.3-configure.patch21
3 files changed, 70 insertions, 3 deletions
diff --git a/dev-lang/bas/ChangeLog b/dev-lang/bas/ChangeLog
index 4cea0ea72023..90b869254a5b 100644
--- a/dev-lang/bas/ChangeLog
+++ b/dev-lang/bas/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/bas
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/bas/ChangeLog,v 1.4 2011/12/15 22:46:21 pacho Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/bas/ChangeLog,v 1.5 2013/01/30 06:51:04 patrick Exp $
+
+*bas-2.3 (30 Jan 2013)
+
+ 30 Jan 2013; Patrick Lauer <patrick@gentoo.org> +bas-2.3.ebuild,
+ +files/bas-2.3-configure.patch:
+ Bump
15 Dec 2011; Pacho Ramos <pacho@gentoo.org> -bas-2.1.ebuild, metadata.xml:
Drop maintainer due retirement, bug #353461; drop old.
@@ -18,4 +24,3 @@
02 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> +bas-2.1.ebuild,
+files/bas-2.1-configure.patch, +files/bas-2.1-makefile.patch:
Initial commit wrt #353356 by Kevin McCarthy.
-
diff --git a/dev-lang/bas/bas-2.3.ebuild b/dev-lang/bas/bas-2.3.ebuild
new file mode 100644
index 000000000000..8b10ae028cfd
--- /dev/null
+++ b/dev-lang/bas/bas-2.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/bas/bas-2.3.ebuild,v 1.1 2013/01/30 06:51:04 patrick Exp $
+
+EAPI=4
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="An interpreter for the classic dialect of the programming language BASIC"
+HOMEPAGE="http://www.moria.de/~michael/bas/"
+SRC_URI="http://www.moria.de/~michael/bas/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lr0"
+
+RDEPEND="sys-libs/ncurses
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-configure.patch \
+ "${FILESDIR}"/${PN}-2.1-makefile.patch
+
+ eautoconf
+}
+
+src_configure() {
+ tc-export AR
+ econf \
+ $(use_enable lr0)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc NEWS README
+ insinto /usr/share/doc/${PF}/pdf
+ doins bas.pdf
+}
diff --git a/dev-lang/bas/files/bas-2.3-configure.patch b/dev-lang/bas/files/bas-2.3-configure.patch
new file mode 100644
index 000000000000..c83558d88b3b
--- /dev/null
+++ b/dev-lang/bas/files/bas-2.3-configure.patch
@@ -0,0 +1,21 @@
+--- configure.in 2012-08-30 16:29:25.000000000 +0800
++++ configure.in.new 2013-01-30 14:48:16.504664907 +0800
+@@ -31,8 +31,8 @@
+ AC_PROG_CC
+ if test "$GCC" = yes
+ then
+- CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS}-pipe -Wall -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
+- LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}-g"
++ CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS} -Wall -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
++ LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}"
+ else
+ CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}"
+ LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
+@@ -66,7 +66,6 @@
+ fi
+
+ AC_CHECK_HEADERS(tgmath.h,have_tgmath_h=yes)
+-AC_CHECK_FUNCS(lrint)
+ AC_CHECK_FUNCS(nanosleep)
+
+ AC_CHECK_FUNCS(tgetent,have_tgetent=yes)