Fix the autoconf tests for our new gmp (from upstream) and update

to 0.32.

some corrections and ok, steven@
This commit is contained in:
kili 2006-11-04 12:52:06 +00:00
parent 994976aa28
commit 81f3a43fc9
3 changed files with 25 additions and 11 deletions

View File

@ -1,11 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2006/08/03 13:09:09 espie Exp $
# $OpenBSD: Makefile,v 1.4 2006/11/04 12:52:06 kili Exp $
COMMENT= "open source COBOL compiler"
DISTNAME= open-cobol-0.31
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= cob 1.0
MODGNU_SHARED_LIBS= cob '-no-undefined'
DISTNAME= open-cobol-0.32
SHARED_LIBS += cob 2.0 # .1.0
CATEGORIES= lang
HOMEPAGE= http://open-cobol.sourceforge.net/
@ -21,12 +19,13 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
LIB_DEPENDS= ltdl.>=4::devel/libtool \
gmp.>=6::devel/gmp
MODULES= gettext
MODULES= devel/gettext
USE_LIBTOOL= Yes
WANTLIB= c m ncurses
CONFIGURE_STYLE=gnu
AUTOCONF_VERSION= 2.59
CONFIGURE_STYLE=gnu autoconf
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CFLAGS="-I${LOCALBASE}/include" \
CPPFLAGS="-I${LOCALBASE}/include"

View File

@ -1,4 +1,4 @@
MD5 (open-cobol-0.31.tar.gz) = 18aeeb41595c3e03b2c315a5c12d5ee6
RMD160 (open-cobol-0.31.tar.gz) = 8e4841ba7ed6310de3321f50350ccdebdadf6864
SHA1 (open-cobol-0.31.tar.gz) = 167aff5d221c3206fa796c2e847d5643f8846fd9
SIZE (open-cobol-0.31.tar.gz) = 751754
MD5 (open-cobol-0.32.tar.gz) = 9ffc3b75eca988e40206b3e310bba635
RMD160 (open-cobol-0.32.tar.gz) = 920efc8f63f5b3f9204934108f16812569d9675c
SHA1 (open-cobol-0.32.tar.gz) = 9d30d0107b098c4638aa78643d833b9b2946565e
SIZE (open-cobol-0.32.tar.gz) = 768635

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-configure_ac,v 1.1 2006/11/04 12:52:06 kili Exp $
From open-cobol-0.33 release candidate.
--- configure.ac.orig Tue Feb 1 08:40:20 2005
+++ configure.ac Sat Nov 4 12:06:17 2006
@@ -107,7 +107,7 @@ AC_CHECK_FUNCS([dbopen],
# Checks for gmp.
AC_CHECK_HEADERS([gmp.h], , AC_MSG_ERROR(gmp.h is required))
-AC_CHECK_LIB([gmp], [__gmp_rand], , AC_MSG_ERROR(GMP 3 or later is required))
+AC_CHECK_LIB([gmp], [__gmp_randinit], , AC_MSG_ERROR(GMP 3 or later is required))
LIBCOB_LIBS="$LIBCOB_LIBS -lgmp"
# Checks for ltdl.