aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mono
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-07-18 05:44:53 +0800
committermezz <mezz@FreeBSD.org>2005-07-18 05:44:53 +0800
commita637506b27372cc7aa18796481466841741cd680 (patch)
tree2193f8a3f31cb549d5114918af71be7c2fa20000 /lang/mono
parent9bb7094a9e44655457303986cd85c3791e5113d4 (diff)
downloadfreebsd-ports-gnome-a637506b27372cc7aa18796481466841741cd680.tar.gz
freebsd-ports-gnome-a637506b27372cc7aa18796481466841741cd680.tar.zst
freebsd-ports-gnome-a637506b27372cc7aa18796481466841741cd680.zip
Fix the build on FreeBSD 7.x by teach it. I need to contact with mainstream
for use wildcard 'freebsd*' in general configure and 'freebsd[0-9] for any version that need to be different. Reported by: krismail
Diffstat (limited to 'lang/mono')
-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"