summaryrefslogtreecommitdiff
path: root/lang/tinycobol
diff options
context:
space:
mode:
authorPatrick S. Gardella <patrick@FreeBSD.org>2000-12-07 02:56:28 +0000
committerPatrick S. Gardella <patrick@FreeBSD.org>2000-12-07 02:56:28 +0000
commit0d51f52d7d62e2318c72d14a249cd3b0c1b1b386 (patch)
tree43cf1782697fad40c3e417f9b1e22d3ce4b45480 /lang/tinycobol
parent- new master site (works for me) (diff)
Update to version 0.4
Notes
Notes: svn path=/head/; revision=35733
Diffstat (limited to 'lang/tinycobol')
-rw-r--r--lang/tinycobol/Makefile2
-rw-r--r--lang/tinycobol/distinfo2
-rw-r--r--lang/tinycobol/files/patch-aa42
-rw-r--r--lang/tinycobol/files/patch-ab15
4 files changed, 34 insertions, 27 deletions
diff --git a/lang/tinycobol/Makefile b/lang/tinycobol/Makefile
index 14753fc09781..da32a2404019 100644
--- a/lang/tinycobol/Makefile
+++ b/lang/tinycobol/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tinycobol
-PORTVERSION= 0.3
+PORTVERSION= 0.4
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tiny-cobol
diff --git a/lang/tinycobol/distinfo b/lang/tinycobol/distinfo
index 921e0dd3c104..1663c3728c3d 100644
--- a/lang/tinycobol/distinfo
+++ b/lang/tinycobol/distinfo
@@ -1 +1 @@
-MD5 (tinycobol-0.3.tar.gz) = 2bb061442b3c9080c7c80f9ade0c5823
+MD5 (tinycobol-0.4.tar.gz) = aec8243d9187135dbab22adefe4126a2
diff --git a/lang/tinycobol/files/patch-aa b/lang/tinycobol/files/patch-aa
index 18d78f3082c2..df00062364f4 100644
--- a/lang/tinycobol/files/patch-aa
+++ b/lang/tinycobol/files/patch-aa
@@ -1,18 +1,34 @@
---- configure.orig Thu Oct 26 09:40:25 2000
-+++ configure Thu Oct 26 10:31:42 2000
-@@ -1683,7 +1683,7 @@
- if test "${db_version}" = "0" ; then
- echo -n "checking library db for version 1.85 compatibility ..."
+--- configure.orig Tue Dec 5 20:13:21 2000
++++ configure Wed Dec 6 20:03:52 2000
+@@ -1768,7 +1768,7 @@
+ if test "${db_version}" = "2" ; then
+ echo -n "checking library db for version 1.85 compatibility..."
LIBS_BK="$LIBS"
- LIBS="$LIBS -ldb"
+ LIBS="$LIBS -ldb2"
cat > conftest.$ac_ext <<EOF
- #line 1689 "configure"
+ #line 1774 "configure"
#include "confdefs.h"
-@@ -1786,13 +1786,13 @@
-
- # if header db.h found check library db is version 1.85
+@@ -1876,13 +1876,13 @@
+ rm -f conftest*
+
+
+- echo $ac_n "checking for -ldb""... $ac_c" 1>&6
++ echo $ac_n "checking for -ldb2""... $ac_c" 1>&6
+ ac_lib_var=`echo db'_'dbopen | tr './+\055' '__p_'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-ldb $LIBS"
++LIBS="-ldb2 $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1888 "configure"
+ #include "confdefs.h"
+@@ -1924,13 +1924,13 @@
+ # if header db.h found check library db1 is version 1.85
+ if test "${db_version}" = "3" ; then
- echo $ac_n "checking for -ldb""... $ac_c" 1>&6
+ echo $ac_n "checking for -ldb2""... $ac_c" 1>&6
ac_lib_var=`echo db'_'dbopen | tr './+\055' '__p_'`
@@ -23,9 +39,9 @@
-LIBS="-ldb $LIBS"
+LIBS="-ldb2 $LIBS"
cat > conftest.$ac_ext <<EOF
- #line 1798 "configure"
+ #line 1936 "configure"
#include "confdefs.h"
-@@ -1963,7 +1963,7 @@
+@@ -2104,7 +2104,7 @@
fi
# check for header and library for readline
@@ -34,7 +50,7 @@
# Check whether --with-readline or --without-readline was given.
if test "${with_readline+set}" = set; then
withval="$with_readline"
-@@ -2037,7 +2037,7 @@
+@@ -2178,7 +2178,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
@@ -42,4 +58,4 @@
+ htg_ld_args_default2="-lhtcobol -ldb2 -lncurses -lreadline -lm"
else
echo "$ac_t""no" 1>&6
- { echo "configure: error: "readline lib is required by create COBOL executable"" 1>&2; exit 1; }
+ { echo "configure: error: "readline lib is required by create COBOL executable... aborting"" 1>&2; exit 1; }
diff --git a/lang/tinycobol/files/patch-ab b/lang/tinycobol/files/patch-ab
index ec4cfecf4c4f..bdf80bd8f705 100644
--- a/lang/tinycobol/files/patch-ab
+++ b/lang/tinycobol/files/patch-ab
@@ -1,15 +1,6 @@
---- htconfig.h.in.orig Thu Oct 26 09:44:10 2000
-+++ htconfig.h.in Thu Oct 26 09:44:26 2000
-@@ -53,7 +53,7 @@
- but are required by the linker to create a executable.
- */
-
--/* Define if you have the db library (-ldb). */
-+/* Define if you have the db library (-ldb2). */
- #undef HAVE_LIBDB
- /* Set library db version 1.85 compatibility feature on for versions >= 2.xx. */
- #undef USE_DB_185_COMPATIBILITY
-@@ -120,8 +120,8 @@
+--- htconfig.h.in.orig Tue Dec 5 20:13:21 2000
++++ htconfig.h.in Wed Dec 6 20:04:57 2000
+@@ -134,8 +134,8 @@
/* Default linker args 2 */
/*