aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-04-21 02:19:39 +0800
committerale <ale@FreeBSD.org>2006-04-21 02:19:39 +0800
commit893657d920c45704d79732144b83c0e4d30b3ae8 (patch)
tree15480bcecf5ee5eee320a59b7f4c8010f772ad4b /lang
parent7381437010de161569c641a563393e65fd3f6bd4 (diff)
downloadfreebsd-ports-gnome-893657d920c45704d79732144b83c0e4d30b3ae8.tar.gz
freebsd-ports-gnome-893657d920c45704d79732144b83c0e4d30b3ae8.tar.zst
freebsd-ports-gnome-893657d920c45704d79732144b83c0e4d30b3ae8.zip
Fix configure.
Diffstat (limited to 'lang')
-rw-r--r--lang/open-cobol-devel/Makefile2
-rw-r--r--lang/open-cobol/Makefile2
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' \