2017-01-05 16:36:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.31 2017/01/05 15:42:59 roy Exp $
|
2012-03-24 00:19:37 +01:00
|
|
|
#
|
2004-06-29 04:57:36 +02:00
|
|
|
|
2012-03-24 00:19:37 +01:00
|
|
|
DISTNAME= open-cobol-1.1
|
|
|
|
PKGNAME= opencobol-1.1
|
2015-08-18 09:31:00 +02:00
|
|
|
PKGREVISION= 3
|
2010-06-02 14:38:29 +02:00
|
|
|
CATEGORIES= lang
|
2015-02-21 12:09:50 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
|
2004-06-29 04:57:36 +02:00
|
|
|
|
2012-03-24 00:19:37 +01:00
|
|
|
MAINTAINER= rodo@bloerp.de
|
2015-02-21 12:09:50 +01:00
|
|
|
HOMEPAGE= https://sourceforge.net/projects/open-cobol/
|
2010-06-02 14:38:29 +02:00
|
|
|
COMMENT= Open-source COBOL compiler
|
2004-06-29 04:57:36 +02:00
|
|
|
|
2013-05-26 06:15:40 +02:00
|
|
|
CONFLICTS= opensource-cobol-[0-9]* open-cobol-ce-[0-9]*
|
|
|
|
|
2010-06-02 14:38:29 +02:00
|
|
|
BDB_ACCEPTED= db4 db5
|
2004-06-29 04:57:36 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
2010-06-02 14:38:29 +02:00
|
|
|
USE_TOOLS+= msgfmt
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-db
|
|
|
|
CONFIGURE_ARGS+= --with-lfs
|
|
|
|
CONFIGURE_ARGS+= --without-readline
|
Updated opencobol to 0.32.
* Changes in OpenCOBOL 0.31
** Stability update - See individual ChangeLogs
** New driver program - "cobcrun"
This allows all application programs to be compiled as
modules and driven by "cobcrun" similar to MF's "cobrun".
Syntax - cobcrun <MAINPROG> [Arguments to program "MAINPROG"]
As "cobcrun" is linked with the static version of Open Cobol
libraries, it is easier to maintain concurrent versions on the
same system.
-----------------------------------------------------------------------
* Changes in OpenCOBOL 0.30
** Installation changes
*** No longer use readline.
*** No longer use run-time configuration file (libcob.conf)
*** libdb is now optional.
Use the new configure option --with-db1 to link with libdb1.
Use the new configure option --with-db to link with libdb.
Otherwise, libdb will not be linked, and indexed files and
SORT/MERGE statements will not work.
*** New subdirectory `config' will be installed under
$prefix/share/open-cobol.
** Compatibility changes
*** New -std options:
default used when you omit -std
cobol85 COBOL 85 Standard
cobol2002 COBOL 2002 Standard
ibm IBM COBOL compatibility
mf Micro Focus COBOL compatibility
v023 OpenCOBOL 0.23 compatibility
*** Compile-time options can be stored in a "config" file.
See config/default.conf for details.
*** Binary data items are now big endian.
The config option `binary-byteorder' controls this.
*** Numeric sign of USAGE DISPLAY items has been changed as follows:
Positive: 0123456789 Negative: pqrstuvwxy
The config option `display-sign' controls this.
*** Data items defined in the working-storage section are
initialized at the beginning of program by default.
The config option `auto-initialize' controls this.
*** SORT statement now creates a temporary file in /tmp for sorting
and removes it after sorting.
** Feature changes
*** COPY statements try to complement the following file extensions:
.CBL, .COB, .cbl, or .cob.
*** COPY / REPLACE statements are reimplemented for better replacement.
*** SPECIAL-NAMES. FORMFEED IS ...
*** ALPHABET ... IS EBCDIC.
*** EXTERNAL clause.
*** SHARING clause.
*** USAGE COMP-5 and COMP-X.
*** USAGE POINTER and ADDRESS OF operator.
*** LENGTH OF operator.
*** PROCEDURE DIVISION USING BY REFERENCE/CONTENT/VALUE.
*** DISPLAY ... ENVIRONMENT-NAME. ACCEPT ... ENVIRONMENT-VALUE.
*** COLLATING SEQUENCE in the SORT and MERGE statements.
*** EXIT PERFORM [CYCLE] statement.
*** SORT table.
*** OPEN ... WITH NO REWIND / WITH LOCK recognized, though not working.
*** Literal concatenation (the `&' operator).
** Compiler changes
*** New compiler environment variable TMPDIR.
*** New compiler environment variable COB_LDFLAGS.
*** The runtime environment variable COB_CONFIG_FILE has been removed.
*** New runtime environment variable COB_DYNAMIC_RELOADING.
*** New compiler option `--list-reserved', which list all reserved words.
*** New compiler option `-conf', which specifies the config file.
*** New compiler option `-ext', which specifies the copy file extension.
*** The compiler option `-O' now does C level optimization.
*** New compiler option `-O2', which does further C level optimization.
*** New compiler option `-L' and `-l', which are passed to the C compiler.
*** New compiler option `-ftrace', which display section names at run time.
*** New compiler option `-fsyntax-only', which does syntax error check
only without any output.
*** New compiler option `-fstatic-call', which is equivalent to `-static'.
*** New compiler option `-fdebugging-line', which enables debugging lines.
*** New compiler option `-fsource-location', which includes source location
in the output.
*** New compiler option `-fline-directive', which includes line directive
in the output.
*** New compiler option `-fruntime-inlining', which is the replacement
of obsolete options `-finline-move' and `-finline-get-int'.
*** New compiler option `-w', which inhibits warnings.
*** New compiler option `-Wredefinition', which warns redefined names.
*** The compiler options `-static' and `-dynamic' are obsolete.
*** The compiler option `-column' removed.
** Many improvement for compatibility.
** Many many bug fixes.
2007-01-06 21:22:11 +01:00
|
|
|
INFO_FILES= yes
|
2004-06-29 04:57:36 +02:00
|
|
|
|
2006-12-11 13:53:02 +01:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2013-05-25 22:09:01 +02:00
|
|
|
# Should be more cintelligent, forks only for NetBSD.
|
2010-06-02 14:38:29 +02:00
|
|
|
SUBST_CLASSES+= bdb
|
2013-05-25 22:09:01 +02:00
|
|
|
SUBST_MESSAGE.bdb= Fixing runtime error.
|
2010-06-02 14:38:29 +02:00
|
|
|
SUBST_STAGE.bdb= pre-configure
|
|
|
|
SUBST_FILES.bdb= configure
|
|
|
|
SUBST_SED.bdb= -e 's,db-4.5,db5,g'
|
|
|
|
SUBST_SED.bdb+= -e 's,db-4.4,db4,g'
|
2013-05-25 22:09:01 +02:00
|
|
|
SUBST_SED.bdb+= -e 's,ncurses,curses,g'
|
2006-12-11 13:53:02 +01:00
|
|
|
|
2004-06-29 04:57:36 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
2004-10-15 14:03:52 +02:00
|
|
|
.include "../../devel/libltdl/buildlink3.mk"
|
2004-06-29 04:57:36 +02:00
|
|
|
.include "../../mk/bdb.buildlink3.mk"
|
2017-01-05 16:36:24 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2004-06-29 04:57:36 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|