summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2007-10-25 18:34:27 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2007-10-25 18:34:27 +0000
commit3831f578ff145fae799b5c77773df28a8311a45e (patch)
treeac6a2f015ff3cee3cb284a8133e33d7a95b7f624 /lang
parent- Update to 20071023 (diff)
Fix build on -CURRENT
Submitted by: Ted Faber
Notes
Notes: svn path=/head/; revision=202012
Diffstat (limited to 'lang')
-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