diff options
-rw-r--r-- | lang/open-cobol-devel/Makefile | 2 | ||||
-rw-r--r-- | lang/open-cobol/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lang/open-cobol-devel/Makefile b/lang/open-cobol-devel/Makefile index 68f510d3b6d6..8d75869735a5 100644 --- a/lang/open-cobol-devel/Makefile +++ b/lang/open-cobol-devel/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' \ 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' \ |