summaryrefslogtreecommitdiff
path: root/lang/opencobol/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-06-02 12:38:29 +0000
committeradam <adam@pkgsrc.org>2010-06-02 12:38:29 +0000
commit9fe5ab286a39d06c7aec45831fdd99693180b489 (patch)
treeadd532704b6faadd8e6197e5973d43385efaa9b2 /lang/opencobol/Makefile
parent8198d859e2741278a81a37b495f8360ba46ea9b5 (diff)
downloadpkgsrc-9fe5ab286a39d06c7aec45831fdd99693180b489.tar.gz
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.
Diffstat (limited to 'lang/opencobol/Makefile')
-rw-r--r--lang/opencobol/Makefile43
1 files changed, 20 insertions, 23 deletions
diff --git a/lang/opencobol/Makefile b/lang/opencobol/Makefile
index fd945b7da33..3823ba34214 100644
--- a/lang/opencobol/Makefile
+++ b/lang/opencobol/Makefile
@@ -1,41 +1,38 @@
-# $NetBSD: Makefile,v 1.19 2010/03/24 19:43:25 asau Exp $
-#
+# $NetBSD: Makefile,v 1.20 2010/06/02 12:38:29 adam Exp $
-DISTNAME= open-cobol-0.32
-PKGNAME= opencobol-0.32
-PKGREVISION= 3
-CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
+DISTNAME= open-cobol-1.0
+PKGNAME= opencobol-1.0
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.opencobol.org/
-COMMENT= Open-source COBOL compiler
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.opencobol.org/
+COMMENT= Open-source COBOL compiler
PKG_DESTDIR_SUPPORT= user-destdir
-GNU_CONFIGURE= yes
-USE_TOOLS+= msgfmt
+BDB_ACCEPTED= db4 db5
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
+USE_TOOLS+= msgfmt
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-db
+CONFIGURE_ARGS+= --with-lfs
+CONFIGURE_ARGS+= --without-readline
INFO_FILES= yes
TEST_TARGET= check
-CONFIGURE_ARGS+= --without-readline
-CONFIGURE_ARGS+= --with-lfs
-
-# XXX: followings can be removed when update to 0.33.
-SUBST_CLASSES+= fixchkgmp
-SUBST_STAGE.fixchkgmp= pre-configure
-SUBST_FILES.fixchkgmp= configure
-SUBST_SED.fixchkgmp= -e 's|__gmp_rand|__gmp_randinit|g'
+SUBST_CLASSES+= bdb
+SUBST_MESSAGE.bdb= Fixing bdb library names.
+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'
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
-.if ${BDB_TYPE} != "db1"
-CONFIGURE_ARGS+= --with-db
-.endif
.include "../../mk/bsd.pkg.mk"