diff options
author | obache <obache@pkgsrc.org> | 2006-12-11 12:53:02 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2006-12-11 12:53:02 +0000 |
commit | 3c2cacd63eada40983a44c8a26807f2391b2a807 (patch) | |
tree | 1fc5957fba0732b62a51c759763a6b894e6984ff /lang/opencobol | |
parent | b99c6af0a516ca031a1caaa21601e32d9929c8cc (diff) | |
download | pkgsrc-3c2cacd63eada40983a44c8a26807f2391b2a807.tar.gz |
Fix check of gmp in configure, taken from 0.33 pre release.
This problem was reported in PR 35221.
Also add test make target.
Diffstat (limited to 'lang/opencobol')
-rw-r--r-- | lang/opencobol/Makefile | 10 |
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" |