pkgsrc/lang/opencobol/patches/patch-aa
adam 271d1cb9f8 Changes 1.0:
* New compile option '-x'. This causes the compiler to produce an
  executable program. '-fmain' is deprecated.
* Remove long option --verbose. Use '-v' for verbosity. Problem is
  with getopt_long_only which does not like eg. -mv
* New conformity option -std=bs2000.
* FUNCTION is implemented. See cobc/reserved.c for a list of what is
  implemented.
* Nested programs are partially supported.
* LINAGE is implemented.
* EXTERNAL on FD is implemented.
* SAME RECORD AREA is implemented.
* New config variables -
* Support for non-gcc compilers.
* Large file support, system dynamic loading and Berkeley DB inclusion
  are default for the configure.
* New configure option --with-patch-level=<n>
* At run time, version checking is done. ie. When executing/loading
  Cobol programs, the version (eg. 0.33) and the patch level (eg. 0)
  are checked against the OC library version/patch level.
* Libtool is not required for systems that support native dynamic
  loading. This includes Linux, Cygwin and MingW amongst others.
* Note to developers : See README for required software versions.
2010-06-02 12:38:29 +00:00

22 lines
740 B
Text

$NetBSD: patch-aa,v 1.4 2010/06/02 12:38:29 adam Exp $
--- configure.orig 2007-12-27 10:57:51.000000000 +0000
+++ configure
@@ -24347,7 +24347,7 @@ echo "$as_me: error: Include file db.h i
-for ac_header in db.h db_185.h db3/db_185.h db4/db_185.h db4.1/db_185.h db4.2/db_185.h db4.3/db_185.h db4.4/db_185.h db4.5/db_185.h
+for ac_header in db.h db_185.h db3/db_185.h db4/db_185.h db5/db_185.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -26067,7 +26067,7 @@ then
COB_CFLAGS="$COB_CFLAGS $CPPFLAGS"
fi
-COB_LIBS="-L$libdir -lcob ${LIBCOB_LIBS}"
+COB_LIBS="-L$libdir -Wl,-R$libdir -lcob ${LIBCOB_LIBS}"
COB_LDFLAGS=""
if test "x$LDFLAGS" != "x"
then