ports/51514: Update port: lang/open-cobol to 0.20 (fix ports/51230)
KATO Tsuguru
tkato at prontomail.com
Mon Apr 28 20:30:29 UTC 2003
>Number: 51514
>Category: ports
>Synopsis: Update port: lang/open-cobol to 0.20 (fix ports/51230)
>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: Mon Apr 28 13:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.20
New file:
files/patch-libcob::screenio.c
Following PR(s) should be superseded by this one:
[2003/04/21] ports/51230 ports-bugs Update port: lang/open-cobol to 0.12
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/lang/open-cobol/Makefile lang/open-cobol/Makefile
--- /usr/ports/lang/open-cobol/Makefile Sat Apr 12 22:53:48 2003
+++ lang/open-cobol/Makefile Tue Apr 29 04:10:13 2003
@@ -7,7 +7,7 @@
#
PORTNAME= open-cobol
-PORTVERSION= 0.10
+PORTVERSION= 0.20
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,23 +15,15 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= An open-source COBOL compiler
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
ltdl.1:${PORTSDIR}/devel/libtool \
gmp.6:${PORTSDIR}/math/libgmp4
-RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
-USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS= --with-readline
INSTALLS_SHLIB= yes
-
-post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
.include <bsd.port.mk>
diff -urN /usr/ports/lang/open-cobol/distinfo lang/open-cobol/distinfo
--- /usr/ports/lang/open-cobol/distinfo Mon Jan 6 16:00:19 2003
+++ lang/open-cobol/distinfo Tue Apr 29 03:40:48 2003
@@ -1 +1 @@
-MD5 (open-cobol-0.10.tar.gz) = 613ccc8415e591eab1f42f9e324c24df
+MD5 (open-cobol-0.20.tar.gz) = ce698bbac587bba95fb43e38e239db5e
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 Thu Jan 1 09:00:00 1970
+++ lang/open-cobol/files/patch-libcob::screenio.c Tue Apr 29 04:09:58 2003
@@ -0,0 +1,10 @@
+--- libcob/screenio.c.orig Thu Apr 3 06:02:51 2003
++++ libcob/screenio.c Tue Apr 29 04:09:44 2003
+@@ -19,6 +19,7 @@
+
+ #include "config.h"
+
++#include <sys/types.h>
+ #include <string.h>
+ #if HAVE_CURSES_H
+ #include <curses.h>
diff -urN /usr/ports/lang/open-cobol/pkg-plist lang/open-cobol/pkg-plist
--- /usr/ports/lang/open-cobol/pkg-plist Mon Jan 6 16:00:19 2003
+++ lang/open-cobol/pkg-plist Tue Apr 29 03:40:48 2003
@@ -1,10 +1,10 @@
bin/cob-config
bin/cobc
-bin/cobpp
etc/libcob.conf
include/libcob.h
include/libcob/call.h
include/libcob/common.h
+include/libcob/exception.def
include/libcob/fileio.h
include/libcob/move.h
include/libcob/numeric.h
@@ -16,7 +16,6 @@
@exec install-info %D/info/open-cobol.info %D/info/dir
lib/libcob.a
lib/libcob.so
-lib/libcob.so.0
-libdata/pkgconfig/cob.pc
+lib/libcob.so.1
share/locale/ja/LC_MESSAGES/open-cobol.mo
@dirrm include/libcob
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list