aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2007-10-26 02:34:27 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2007-10-26 02:34:27 +0800
commit8cc68525f539570419235d46b36871010c8666cd (patch)
tree967a1416c1295cc1df3b15be57104a79cc0cc9eb /lang
parent7ba69e8adc352a5fedde4f86a0f72e16bdb6504f (diff)
downloadfreebsd-ports-gnome-8cc68525f539570419235d46b36871010c8666cd.tar.gz
freebsd-ports-gnome-8cc68525f539570419235d46b36871010c8666cd.tar.zst
freebsd-ports-gnome-8cc68525f539570419235d46b36871010c8666cd.zip
Fix build on -CURRENT
Submitted by: Ted Faber
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