pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/opencobol Fix check of gmp in configure, taken fr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c81305b0e807
branches: trunk
changeset: 522511:c81305b0e807
user: obache <obache%pkgsrc.org@localhost>
date: Mon Dec 11 12:53:02 2006 +0000
description:
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:
lang/opencobol/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 42f65fa2fe9e -r c81305b0e807 lang/opencobol/Makefile
--- a/lang/opencobol/Makefile Mon Dec 11 12:50:36 2006 +0000
+++ b/lang/opencobol/Makefile Mon Dec 11 12:53:02 2006 +0000
@@ -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 @@
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 @@
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"
Home |
Main Index |
Thread Index |
Old Index