summaryrefslogtreecommitdiff
path: root/lang/opencobol/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/opencobol/Makefile')
-rw-r--r--lang/opencobol/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/opencobol/Makefile b/lang/opencobol/Makefile
index e1baab247f8..9bf67191510 100644
--- a/lang/opencobol/Makefile
+++ b/lang/opencobol/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/10/04 21:46:13 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2006/12/11 12:53:02 obache Exp $
#
DISTNAME= open-cobol-0.23
@@ -18,6 +18,8 @@ USE_PKGLOCALEDIR= yes
INFO_FILES= # PLIST
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
+TEST_TARGET= check
+
CONFIGURE_ARGS+= --without-readline
CONFIGURE_ARGS+= --with-lfs
CONFIGURE_ENV+= NCURSES_LIB=${BUILDLINK_LDADD.ncurses:Q}
@@ -25,6 +27,12 @@ CONFIGURE_ENV+= NCURSES_LIB=${BUILDLINK_LDADD.ncurses:Q}
EGDIR= ${PREFIX}/share/examples/open-cobol
CONF_FILES= ${EGDIR}/libconf.conf ${PKG_SYSCONFDIR}/libconf.conf
+# 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'
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"