aboutsummaryrefslogtreecommitdiff
path: root/lang/open-cobol/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/open-cobol/Makefile')
-rw-r--r--lang/open-cobol/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/open-cobol/Makefile b/lang/open-cobol/Makefile
index 68f510d3b6d6..8d75869735a5 100644
--- a/lang/open-cobol/Makefile
+++ b/lang/open-cobol/Makefile
@@ -40,6 +40,8 @@ PLIST_SUB+= NLS=""
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's|__gmp_rand|__gmpz_init|g' \
+ ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^SUBDIRS = lib |SUBDIRS = |g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|$$(top_builddir)/lib/libsupport\.a||g' \