diff options
-rw-r--r-- | dev-lang/tinycobol/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/tinycobol/files/tinycobol-0.65.9.patch | 140 | ||||
-rw-r--r-- | dev-lang/tinycobol/tinycobol-0.64.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/tinycobol/tinycobol-0.65.9.ebuild | 45 |
4 files changed, 194 insertions, 3 deletions
diff --git a/dev-lang/tinycobol/ChangeLog b/dev-lang/tinycobol/ChangeLog index 14af8b8d3bba..7fe91a797438 100644 --- a/dev-lang/tinycobol/ChangeLog +++ b/dev-lang/tinycobol/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/tinycobol # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tinycobol/ChangeLog,v 1.18 2010/01/23 21:00:17 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tinycobol/ChangeLog,v 1.19 2010/03/10 20:07:05 phosphan Exp $ + +*tinycobol-0.65.9 (23 Jan 2010) + + 23 Jan 2010; Patrick Kursawe <phosphan@gentoo.org> + +tinycobol-0.65.9.ebuild, +files/tinycobol-0.65.9.patch: + Version bump (needing an updated patch) for bug #298093. 23 Jan 2010; Patrick Kursawe <phosphan@gentoo.org> -tinycobol-0.61.ebuild, -files/tinycobol-0.61.patch: diff --git a/dev-lang/tinycobol/files/tinycobol-0.65.9.patch b/dev-lang/tinycobol/files/tinycobol-0.65.9.patch new file mode 100644 index 000000000000..4046b0249e1f --- /dev/null +++ b/dev-lang/tinycobol/files/tinycobol-0.65.9.patch @@ -0,0 +1,140 @@ +diff -Nru tinycobol-0.65.9/Makefile.in tinycobol-0.65.9.new/Makefile.in +--- tinycobol-0.65.9/Makefile.in 2010-01-13 05:42:49.000000000 +0100 ++++ tinycobol-0.65.9.new/Makefile.in 2010-01-23 22:46:18.000000000 +0100 +@@ -44,7 +44,7 @@ + all: + @for i in ${subdirs}; do \ + echo Making all in $$i ; \ +- (cd $$i; ${MAKE} all) ; \ ++ (cd $$i; ${MAKE} all) || exit ; \ + done + + install: all +Files tinycobol-0.65.9/cobrun/.Makefile.in.swp and tinycobol-0.65.9.new/cobrun/.Makefile.in.swp differ +diff -Nru tinycobol-0.65.9/cobrun/Makefile.in tinycobol-0.65.9.new/cobrun/Makefile.in +--- tinycobol-0.65.9/cobrun/Makefile.in 2010-01-13 05:42:49.000000000 +0100 ++++ tinycobol-0.65.9.new/cobrun/Makefile.in 2010-01-23 22:40:07.000000000 +0100 +@@ -11,12 +11,12 @@ + datarootdir = ${prefix}/share + pkgdatadir = ${datarootdir}/htcobol + #tcob_docdir=@tcob_docdir@ +-tcob_docdir=${prefix}/doc/@tcob_docdir@ ++tcob_docdir=${prefix}/share/doc/@tcob_docdir@ + + INSTALL=@INSTALL@ + INSTALL_DATA=@INSTALL_DATA@ + INSTALL_DIR=$(INSTALL) -d -m 755 +-INSTALL_PROGRAM=$(INSTALL) -s -m 755 ++INSTALL_PROGRAM=$(INSTALL) -m 755 + + INSTRC=@tcob_default@ + +@@ -36,7 +36,7 @@ + LIBS1=@tcob_ld_args_defaults@ + LIBS2=-L../lib -lhtcobol @tcob_ld_args_defaults@ + LDFLAGS=@LDFLAGS@ +-CCXFLAGS=${INCLUDES} -Wall ++CCXFLAGS=${CFLAGS} ${INCLUDES} -Wall + + SRC01 = htcobrun.c + +diff -Nru tinycobol-0.65.9/compiler/Makefile.in tinycobol-0.65.9.new/compiler/Makefile.in +--- tinycobol-0.65.9/compiler/Makefile.in 2010-01-13 05:42:49.000000000 +0100 ++++ tinycobol-0.65.9.new/compiler/Makefile.in 2010-01-23 22:45:27.000000000 +0100 +@@ -14,12 +14,12 @@ + datarootdir = ${prefix}/share + pkgdatadir = ${datarootdir}/htcobol + #tcob_docdir=@tcob_docdir@ +-tcob_docdir=${prefix}/doc/@tcob_docdir@ ++tcob_docdir=${prefix}/share/doc/@tcob_docdir@ + + INSTALL=@INSTALL@ + INSTALL_DATA=@INSTALL_DATA@ + INSTALL_DIR=$(INSTALL) -d -m 755 +-INSTALL_PROGRAM=$(INSTALL) -s -m 755 ++INSTALL_PROGRAM=$(INSTALL) -m 755 + + RM= rm -f + MKDIR=mkdir -p +@@ -39,7 +39,7 @@ + # -DDEBUG_COMPILER -DDEBUG_SCANNER + # + INCLUDES=@INCLUDES@ +-CCXFLAGS=${INCLUDES} @CCXFLAGS@ -Wall ++CCXFLAGS=${INCLUDES} ${CFLAGS} @CCXFLAGS@ -Wall + #CCXFLAGS=${INCLUDES} @CCXFLAGS@ -Wall -pedantic -Wno-long-long + #CCXFLAGS1=${INCLUDES} @CCXFLAGS@ + CCXFLAGS1=${INCLUDES} +@@ -82,14 +82,16 @@ + + scanner: htcobol.tab.c scan.c pp_parser.tab.c pp_scanner.c + +-scan.c: scan.l ++scan.c: scan.l htcobol.tab.c + $(LEX) -o$@ $< + +-htcobol.tab.c: htcobol.y scan.c ++htcobol.tab.c: htcobol.y + $(YACC) -dv -b htcobol $< + + #htcobgen.o: htcoboly.h htcobol.c + ++reswords.o: htcobol.tab.c reswords.c ++ + htcobol.o: htcoboly.h + $(CCX) $(CCXFLAGS) -c htcobol.c + +diff -Nru tinycobol-0.65.9/info/Makefile.in tinycobol-0.65.9.new/info/Makefile.in +--- tinycobol-0.65.9/info/Makefile.in 2010-01-13 05:42:49.000000000 +0100 ++++ tinycobol-0.65.9.new/info/Makefile.in 2010-01-23 22:42:59.000000000 +0100 +@@ -16,15 +16,15 @@ + #datadir = ${datarootdir} + datarootdir = ${prefix}/share + pkgdatadir = ${datarootdir}/htcobol +-mandir = $(prefix)/man/man1 ++mandir = $(prefix)/share/man/man1 + + #tcob_docdir=@tcob_docdir@ +-tcob_docdir=${prefix}/doc/@tcob_docdir@ ++tcob_docdir=${prefix}/share/doc/@tcob_docdir@ + + INSTALL=@INSTALL@ + INSTALL_DATA=@INSTALL_DATA@ + INSTALL_DIR=$(INSTALL) -d -m 755 +-INSTALL_PROGRAM=$(INSTALL) -s -m 755 ++INSTALL_PROGRAM=$(INSTALL) -m 755 + + #mandir=@mandir@ + #docdir=@docdir@ +diff -Nru tinycobol-0.65.9/lib/Makefile.in tinycobol-0.65.9.new/lib/Makefile.in +--- tinycobol-0.65.9/lib/Makefile.in 2010-01-13 05:42:49.000000000 +0100 ++++ tinycobol-0.65.9.new/lib/Makefile.in 2010-01-23 22:44:03.000000000 +0100 +@@ -9,7 +9,7 @@ + datarootdir = ${prefix}/share + pkgdatadir = ${datarootdir}/htcobol + #tcob_docdir=@tcob_docdir@ +-tcob_docdir=${prefix}/doc/@tcob_docdir@ ++tcob_docdir=${prefix}/share/doc/@tcob_docdir@ + lib_dir=${exec_prefix}/lib + + INSTRC=@tcob_default@ +@@ -19,7 +19,7 @@ + INSTALL=@INSTALL@ + INSTALL_DATA=@INSTALL_DATA@ + INSTALL_DIR=$(INSTALL) -d -m 755 +-INSTALL_PROGRAM=$(INSTALL) -s -m 755 ++INSTALL_PROGRAM=$(INSTALL) -m 755 + + RANLIB=@RANLIB@ + AR=@AR@ +@@ -37,8 +37,8 @@ + INCLUDES=@INCLUDES@ + LIBS=@tcob_ld_args_defaults@ + LDFLAGS=@LDFLAGS@ +-CCXFLAGS=${INCLUDES} @CCXFLAGS@ -Wall +-CCXFLAGS1=${INCLUDES} @CCXFLAGS@ -Wall -fPIC -DPIC ++CCXFLAGS=${INCLUDES} ${CFLAGS} @CCXFLAGS@ -Wall ++CCXFLAGS1=${INCLUDES} ${CFLAGS} @CCXFLAGS@ -Wall -fPIC -DPIC + ACXFLAGS=@ACXFLAGS@ + + # diff --git a/dev-lang/tinycobol/tinycobol-0.64.ebuild b/dev-lang/tinycobol/tinycobol-0.64.ebuild index 90e68e691d2b..b7d8a162826b 100644 --- a/dev-lang/tinycobol/tinycobol-0.64.ebuild +++ b/dev-lang/tinycobol/tinycobol-0.64.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tinycobol/tinycobol-0.64.ebuild,v 1.4 2009/08/29 18:12:58 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tinycobol/tinycobol-0.64.ebuild,v 1.5 2010/03/10 20:07:05 phosphan Exp $ inherit eutils diff --git a/dev-lang/tinycobol/tinycobol-0.65.9.ebuild b/dev-lang/tinycobol/tinycobol-0.65.9.ebuild new file mode 100644 index 000000000000..628e1c8d5085 --- /dev/null +++ b/dev-lang/tinycobol/tinycobol-0.65.9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tinycobol/tinycobol-0.65.9.ebuild,v 1.1 2010/03/10 20:07:05 phosphan Exp $ + +inherit eutils + +DESCRIPTION="COBOL for linux" +HOMEPAGE="http://tiny-cobol.sourceforge.net/" +SRC_URI="mirror://sourceforge/tiny-cobol/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~ppc ~x86" + +RDEPEND=">=dev-libs/glib-2.0 + sys-libs/db + dev-db/vbisam" + +DEPEND="${RDEPEND} + sys-devel/flex" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}.patch" +} + +src_compile() { + econf || die + emake CC="$(tc-getCC)" || die "make failed" +} + +src_install() { + dodir /usr/bin + dodir /usr/share/man/man1 + dodir /usr/lib + dodir /usr/share/htcobol + dodir /usr/share/doc + emake DESTDIR="${D}" cobdir_docdir="/usr/share/doc/htcobol-${PV}" \ + pkgdatadir="/usr/share/htcobol/" install + cd lib + emake DESTDIR="${D}" pkgdatadir="/usr/share/htcobol/" install \ + install-shared-libs install-static-libs +} |