ports/119501: Update port: lang/open-cobol to 1.0

KATO Tsuguru tkato432 at yahoo.com
Wed Jan 9 18:10:02 UTC 2008


>Number:         119501
>Category:       ports
>Synopsis:       Update port: lang/open-cobol to 1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 09 18:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.2-RELEASE-p8 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0

Remove file:
files/patch-cobc::cobc.c
files/patch-libcob::screenio.c
files/patch-tests_atlocal.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/lang/open-cobol/Makefile lang/open-cobol/Makefile
--- /usr/ports/lang/open-cobol/Makefile	Wed Mar 28 03:52:41 2007
+++ lang/open-cobol/Makefile	Fri Jan  4 12:58:00 2008
@@ -7,27 +7,25 @@
 #
 
 PORTNAME=	open-cobol
-PORTVERSION=	0.32
-PORTREVISION=	2
+PORTVERSION=	1.0
 CATEGORIES=	lang
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	SF
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	An open-source COBOL compiler
 
 LIB_DEPENDS=	gmp.7:${PORTSDIR}/math/libgmp4
 
-USE_GETOPT_LONG=yes
-USE_AUTOTOOLS=	libltdl:15 libtool:15
-GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_GNOME=	gnometarget
+USE_BDB=	yes
+USE_GMAKE=	yes
+USE_AUTOTOOLS=	libtool:15
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 USE_LDCONFIG=	yes
 
 INFO=		open-cobol
 
-CPPFLAGS=	-I${LOCALBASE}/include
+CPPFLAGS=	-I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
 
 .if defined(WITHOUT_NLS)
@@ -39,12 +37,8 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|__gmp_rand|__gmpz_init|g' \
-		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|^SUBDIRS = lib |SUBDIRS = |g' \
-		${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e 's|$$(top_builddir)/lib/libsupport\.a||g' \
-		${WRKSRC}/cobc/Makefile.in
+	@${REINPLACE_CMD} -e 's|__gmp_randinit|__gmpz_init|g ; \
+		 s|db-4.[0-9]|${BDB_LIB_NAME}|g' ${WRKSRC}/configure
 
 .if defined(MAINTAINER_MODE)
 test:	build
diff -urN /usr/ports/lang/open-cobol/distinfo lang/open-cobol/distinfo
--- /usr/ports/lang/open-cobol/distinfo	Fri Nov 25 13:37:31 2005
+++ lang/open-cobol/distinfo	Fri Jan  4 11:35:36 2008
@@ -1,3 +1,3 @@
-MD5 (open-cobol-0.32.tar.gz) = 9ffc3b75eca988e40206b3e310bba635
-SHA256 (open-cobol-0.32.tar.gz) = ede55ad33a5d8776c994a668b77716f0fddba23011263a07073ffff0c0c38fc9
-SIZE (open-cobol-0.32.tar.gz) = 768635
+MD5 (open-cobol-1.0.tar.gz) = 947e0d9c4ee7fa8f077ea4bca2f894e5
+SHA256 (open-cobol-1.0.tar.gz) = 15a36e4823b09938b25e947dcd0fad1b7b1ba2978591bb220a18c2bed32daf06
+SIZE (open-cobol-1.0.tar.gz) = 934641
diff -urN /usr/ports/lang/open-cobol/files/patch-cobc::cobc.c lang/open-cobol/files/patch-cobc::cobc.c
--- /usr/ports/lang/open-cobol/files/patch-cobc::cobc.c	Wed Apr  7 06:02:44 2004
+++ lang/open-cobol/files/patch-cobc::cobc.c	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- cobc/cobc.c.orig	Thu Jun  5 09:02:15 2003
-+++ cobc/cobc.c	Sun Apr  4 00:32:21 2004
-@@ -36,7 +36,7 @@
- 
- #include "cobc.h"
- #include "tree.h"
--#include "lib/getopt.h"
-+#include <getopt.h>
- 
- 
- /*
diff -urN /usr/ports/lang/open-cobol/files/patch-libcob::screenio.c lang/open-cobol/files/patch-libcob::screenio.c
--- /usr/ports/lang/open-cobol/files/patch-libcob::screenio.c	Wed Nov 24 13:33:30 2004
+++ lang/open-cobol/files/patch-libcob::screenio.c	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- libcob/screenio.c.orig	Fri Mar 12 13:41:58 2004
-+++ libcob/screenio.c	Wed Nov 24 02:43:30 2004
-@@ -19,6 +19,7 @@
- 
- #include "config.h"
- 
-+#include <stdio.h>
- #include <string.h>
- 
- #if HAVE_NCURSES_H
diff -urN /usr/ports/lang/open-cobol/files/patch-tests_atlocal.in lang/open-cobol/files/patch-tests_atlocal.in
--- /usr/ports/lang/open-cobol/files/patch-tests_atlocal.in	Sun May 15 03:23:48 2005
+++ lang/open-cobol/files/patch-tests_atlocal.in	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- tests/atlocal.in.orig	Tue May  3 11:31:14 2005
-+++ tests/atlocal.in	Sat May 14 18:24:52 2005
-@@ -10,7 +10,7 @@
- COMPILE_ONLY="${COBC} -fsyntax-only ${FLAGS}"
- COMPILE_MODULE="${COBC} -m ${FLAGS}"
- 
--export COB_CFLAGS="-I${abs_top_srcdir}"
-+export COB_CFLAGS="-I${abs_top_srcdir} -I at prefix@/include"
- export COB_LIBS="-L${abs_top_builddir}/libcob/.libs -lcob @LIBCOB_LIBS@"
- export COB_CONFIG_DIR="${abs_top_srcdir}/config"
- export LD_LIBRARY_PATH="${abs_top_builddir}/libcob/.libs"
diff -urN /usr/ports/lang/open-cobol/pkg-plist lang/open-cobol/pkg-plist
--- /usr/ports/lang/open-cobol/pkg-plist	Fri Feb 24 00:41:26 2006
+++ lang/open-cobol/pkg-plist	Fri Jan  4 12:55:46 2008
@@ -4,26 +4,29 @@
 include/libcob.h
 include/libcob/byteswap.h
 include/libcob/call.h
+include/libcob/codegen.h
 include/libcob/common.h
 include/libcob/exception.def
 include/libcob/fileio.h
+include/libcob/intrinsic.h
 include/libcob/move.h
 include/libcob/numeric.h
 include/libcob/screenio.h
 include/libcob/strings.h
+include/libcob/system.def
 include/libcob/termio.h
 lib/libcob.a
 lib/libcob.la
 lib/libcob.so
 lib/libcob.so.1
 %%NLS%%share/locale/ja/LC_MESSAGES/open-cobol.mo
+%%DATADIR%%/config/bs2000.conf
 %%DATADIR%%/config/cobol2002.conf
 %%DATADIR%%/config/cobol85.conf
 %%DATADIR%%/config/default.conf
 %%DATADIR%%/config/ibm.conf
 %%DATADIR%%/config/mf.conf
 %%DATADIR%%/config/mvs.conf
-%%DATADIR%%/config/v023.conf
 @dirrm %%DATADIR%%/config
 @dirrm %%DATADIR%%
 @dirrm include/libcob
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list