diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2007-09-01 19:56:03 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2007-09-01 19:56:03 +0000 |
commit | 1be49f612bf9f44d525d5c8c254697dc289a5d83 (patch) | |
tree | d4e503b717686a2f1696e4c2e7d2fd6b854ab4b2 | |
parent | Added slots. (diff) | |
download | gentoo-2-1be49f612bf9f44d525d5c8c254697dc289a5d83.tar.gz gentoo-2-1be49f612bf9f44d525d5c8c254697dc289a5d83.tar.bz2 gentoo-2-1be49f612bf9f44d525d5c8c254697dc289a5d83.zip |
vvesion bump plus fix for configure issue, see bug 157815, fix by Chi-Thanh Christopher Nguyen <chithanh@cs.tu-berlin.de>
(Portage version: 2.1.2.12)
-rw-r--r-- | dev-lang/open-cobol/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/open-cobol/files/digest-open-cobol-0.32 | 3 | ||||
-rw-r--r-- | dev-lang/open-cobol/files/open-cobol-0.32-gmp-configure.patch | 55 | ||||
-rw-r--r-- | dev-lang/open-cobol/open-cobol-0.32.ebuild | 39 |
4 files changed, 105 insertions, 1 deletions
diff --git a/dev-lang/open-cobol/ChangeLog b/dev-lang/open-cobol/ChangeLog index fe2d00816ce1..0b7bec13503e 100644 --- a/dev-lang/open-cobol/ChangeLog +++ b/dev-lang/open-cobol/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-lang/open-cobol # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/open-cobol/ChangeLog,v 1.9 2007/02/04 01:50:57 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/open-cobol/ChangeLog,v 1.10 2007/09/01 19:56:03 opfer Exp $ + +*open-cobol-0.32 (01 Sep 2007) + + 01 Sep 2007; Christian Faulhammer <opfer@gentoo.org> + +files/open-cobol-0.32-gmp-configure.patch, +open-cobol-0.32.ebuild: + vvesion bump plus fix for configure issue, see bug 157815, fix by Chi-Thanh + Christopher Nguyen <chithanh@cs.tu-berlin.de> 04 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/dev-lang/open-cobol/files/digest-open-cobol-0.32 b/dev-lang/open-cobol/files/digest-open-cobol-0.32 new file mode 100644 index 000000000000..22076897d647 --- /dev/null +++ b/dev-lang/open-cobol/files/digest-open-cobol-0.32 @@ -0,0 +1,3 @@ +MD5 9ffc3b75eca988e40206b3e310bba635 open-cobol-0.32.tar.gz 768635 +RMD160 920efc8f63f5b3f9204934108f16812569d9675c open-cobol-0.32.tar.gz 768635 +SHA256 ede55ad33a5d8776c994a668b77716f0fddba23011263a07073ffff0c0c38fc9 open-cobol-0.32.tar.gz 768635 diff --git a/dev-lang/open-cobol/files/open-cobol-0.32-gmp-configure.patch b/dev-lang/open-cobol/files/open-cobol-0.32-gmp-configure.patch new file mode 100644 index 000000000000..e8bde038814d --- /dev/null +++ b/dev-lang/open-cobol/files/open-cobol-0.32-gmp-configure.patch @@ -0,0 +1,55 @@ +--- open-cobol-0.32.orig/configure 2006-12-12 17:57:18.000000000 +0100 ++++ open-cobol-0.32/configure 2006-12-12 17:58:38.000000000 +0100 +@@ -4642,9 +4642,9 @@ + done + + +-echo "$as_me:$LINENO: checking for __gmp_rand in -lgmp" >&5 +-echo $ECHO_N "checking for __gmp_rand in -lgmp... $ECHO_C" >&6 +-if test "${ac_cv_lib_gmp___gmp_rand+set}" = set; then ++echo "$as_me:$LINENO: checking for __gmp_randinit in -lgmp" >&5 ++echo $ECHO_N "checking for __gmp_randinit in -lgmp... $ECHO_C" >&6 ++if test "${ac_cv_lib_gmp___gmp_randinit+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +@@ -4662,11 +4662,11 @@ + #endif + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char __gmp_rand (); ++char __gmp_randinit (); + int + main () + { +-__gmp_rand (); ++__gmp_randinit (); + ; + return 0; + } +@@ -4693,20 +4693,20 @@ + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then +- ac_cv_lib_gmp___gmp_rand=yes ++ ac_cv_lib_gmp___gmp_randinit=yes + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-ac_cv_lib_gmp___gmp_rand=no ++ac_cv_lib_gmp___gmp_randinit=no + fi + rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmp_rand" >&5 +-echo "${ECHO_T}$ac_cv_lib_gmp___gmp_rand" >&6 +-if test $ac_cv_lib_gmp___gmp_rand = yes; then ++echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmp_randinit" >&5 ++echo "${ECHO_T}$ac_cv_lib_gmp___gmp_randinit" >&6 ++if test $ac_cv_lib_gmp___gmp_randinit = yes; then + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBGMP 1 + _ACEOF diff --git a/dev-lang/open-cobol/open-cobol-0.32.ebuild b/dev-lang/open-cobol/open-cobol-0.32.ebuild new file mode 100644 index 000000000000..280886a981de --- /dev/null +++ b/dev-lang/open-cobol/open-cobol-0.32.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/open-cobol/open-cobol-0.32.ebuild,v 1.1 2007/09/01 19:56:03 opfer Exp $ + +DESCRIPTION="an open-source COBOL compiler" +HOMEPAGE="http://www.open-cobol.org/" +SRC_URI="mirror://sourceforge/open-cobol/${P}.tar.gz" +inherit eutils + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="nls berkdb readline ncurses" + +DEPEND="sys-devel/libtool + >=dev-libs/gmp-3.1.1 + berkdb? ( =sys-libs/db-1* ) + readline? ( sys-libs/readline ) + ncurses? ( >=sys-libs/ncurses-5.2 )" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${P}-gmp-configure.patch" +} + +src_compile() { + + # --with-db does not work + econf \ + $(use_with berkdb db1) \ + $(use_enable nls) \ + $(use_with readline) || die "econf failed" + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ABOUT-NLS AUTHORS ChangeLog INSTALL NEWS README +} |