aboutsummaryrefslogtreecommitdiff
path: root/lang/mono/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono/Makefile')
-rw-r--r--lang/mono/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index dc6dd666770b..b3ca82d46339 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -88,9 +88,12 @@ post-patch:
${WRKSRC}/mcs/class/Managed.Windows.Forms/build-csproj \
${WRKSRC}/mcs/class/Managed.Windows.Forms/build-csproj2k5
-.if ${OSVERSION} >= 700000
+.if ${OSVERSION} >= 700000 && ${OSVERSION} < 800000
@${REINPLACE_CMD} -e 's|freebsd6|freebsd7|g' \
- ${WRKSRC}/configure ${WRKSRC}/libgc/configure
+ ${WRKSRC}/configure ${WRKSRC}/libgc/configure
+.elif ${OSVERSION} >= 800000
+ @${REINPLACE_CMD} -e 's|freebsd6|freebsd8|g' \
+ ${WRKSRC}/configure ${WRKSRC}/libgc/configure
.endif
tests: build