aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/open-cobol-devel/Makefile11
-rw-r--r--lang/open-cobol-devel/distinfo2
-rw-r--r--lang/open-cobol-devel/files/patch-libcob::screenio.c10
-rw-r--r--lang/open-cobol-devel/pkg-plist3
-rw-r--r--lang/open-cobol/Makefile11
-rw-r--r--lang/open-cobol/distinfo2
-rw-r--r--lang/open-cobol/files/patch-libcob::screenio.c10
-rw-r--r--lang/open-cobol/pkg-plist3
8 files changed, 32 insertions, 20 deletions
diff --git a/lang/open-cobol-devel/Makefile b/lang/open-cobol-devel/Makefile
index 8ffd56c1896e..39f81d001e96 100644
--- a/lang/open-cobol-devel/Makefile
+++ b/lang/open-cobol-devel/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= open-cobol
-PORTVERSION= 0.12
+PORTVERSION= 0.20
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,17 +15,14 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An open-source COBOL compiler
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \
- gmp.6:${PORTSDIR}/math/libgmp4 \
- ltdl.1:${PORTSDIR}/devel/libtool
-RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+ ltdl.1:${PORTSDIR}/devel/libtool \
+ gmp.6:${PORTSDIR}/math/libgmp4
-USE_GNOME= gnomehack
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS= --with-readline
INSTALLS_SHLIB= yes
diff --git a/lang/open-cobol-devel/distinfo b/lang/open-cobol-devel/distinfo
index 836e59d61887..3694c8845044 100644
--- a/lang/open-cobol-devel/distinfo
+++ b/lang/open-cobol-devel/distinfo
@@ -1 +1 @@
-MD5 (open-cobol-0.12.tar.gz) = 2b6397eecb6825f85db8927c671c2604
+MD5 (open-cobol-0.20.tar.gz) = ce698bbac587bba95fb43e38e239db5e
diff --git a/lang/open-cobol-devel/files/patch-libcob::screenio.c b/lang/open-cobol-devel/files/patch-libcob::screenio.c
new file mode 100644
index 000000000000..31e83902355b
--- /dev/null
+++ b/lang/open-cobol-devel/files/patch-libcob::screenio.c
@@ -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 --git a/lang/open-cobol-devel/pkg-plist b/lang/open-cobol-devel/pkg-plist
index 87850c2f60ff..27893181ee92 100644
--- a/lang/open-cobol-devel/pkg-plist
+++ b/lang/open-cobol-devel/pkg-plist
@@ -1,11 +1,11 @@
@comment $FreeBSD$
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
@@ -18,6 +18,5 @@ info/open-cobol.info
lib/libcob.a
lib/libcob.so
lib/libcob.so.1
-libdata/pkgconfig/cob.pc
share/locale/ja/LC_MESSAGES/open-cobol.mo
@dirrm include/libcob
diff --git a/lang/open-cobol/Makefile b/lang/open-cobol/Makefile
index 8ffd56c1896e..39f81d001e96 100644
--- a/lang/open-cobol/Makefile
+++ b/lang/open-cobol/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= open-cobol
-PORTVERSION= 0.12
+PORTVERSION= 0.20
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,17 +15,14 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An open-source COBOL compiler
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \
- gmp.6:${PORTSDIR}/math/libgmp4 \
- ltdl.1:${PORTSDIR}/devel/libtool
-RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+ ltdl.1:${PORTSDIR}/devel/libtool \
+ gmp.6:${PORTSDIR}/math/libgmp4
-USE_GNOME= gnomehack
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS= --with-readline
INSTALLS_SHLIB= yes
diff --git a/lang/open-cobol/distinfo b/lang/open-cobol/distinfo
index 836e59d61887..3694c8845044 100644
--- a/lang/open-cobol/distinfo
+++ b/lang/open-cobol/distinfo
@@ -1 +1 @@
-MD5 (open-cobol-0.12.tar.gz) = 2b6397eecb6825f85db8927c671c2604
+MD5 (open-cobol-0.20.tar.gz) = ce698bbac587bba95fb43e38e239db5e
diff --git a/lang/open-cobol/files/patch-libcob::screenio.c b/lang/open-cobol/files/patch-libcob::screenio.c
new file mode 100644
index 000000000000..31e83902355b
--- /dev/null
+++ b/lang/open-cobol/files/patch-libcob::screenio.c
@@ -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 --git a/lang/open-cobol/pkg-plist b/lang/open-cobol/pkg-plist
index 87850c2f60ff..27893181ee92 100644
--- a/lang/open-cobol/pkg-plist
+++ b/lang/open-cobol/pkg-plist
@@ -1,11 +1,11 @@
@comment $FreeBSD$
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
@@ -18,6 +18,5 @@ info/open-cobol.info
lib/libcob.a
lib/libcob.so
lib/libcob.so.1
-libdata/pkgconfig/cob.pc
share/locale/ja/LC_MESSAGES/open-cobol.mo
@dirrm include/libcob