summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/mono/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 9c2c973db9c5..3b245b29459a 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -62,6 +62,10 @@ post-patch:
${WRKSRC}/mono/metadata/assembly.c
@${REINPLACE_CMD} -e 's|.so.0|.so|g' \
${WRKSRC}/configure
+.if ${OSVERSION} > 700000
+ @${REINPLACE_CMD} -e 's|freebsd6|freebsd7|g' \
+ ${WRKSRC}/configure ${WRKSRC}/libgc/configure
+.endif
tests: build
@${ECHO_MSG} "===> Running mono regression tests"