Lines 7-13
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= mono |
9 |
PORTNAME= mono |
10 |
PORTVERSION= 2.4.2.2 |
10 |
PORTVERSION= 2.4.2.3 |
11 |
PORTREVISION= 1 |
11 |
PORTREVISION= 1 |
12 |
CATEGORIES= lang |
12 |
CATEGORIES= lang |
13 |
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/ |
13 |
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/ |
Lines 59-65
Link Here
|
59 |
.include <bsd.port.pre.mk> |
59 |
.include <bsd.port.pre.mk> |
60 |
|
60 |
|
61 |
.if ${ARCH} == "amd64" |
61 |
.if ${ARCH} == "amd64" |
62 |
USE_FAM= yes |
|
|
63 |
MAKE_ARGS+= MONO_GENERIC_SHARING=none #https://bugzilla.novell.com/show_bug.cgi?id=434457 |
62 |
MAKE_ARGS+= MONO_GENERIC_SHARING=none #https://bugzilla.novell.com/show_bug.cgi?id=434457 |
64 |
.endif |
63 |
.endif |
65 |
|
64 |
|
Lines 74-89
Link Here
|
74 |
pre-everything:: |
73 |
pre-everything:: |
75 |
@${CAT} ${PKGMESSAGE} |
74 |
@${CAT} ${PKGMESSAGE} |
76 |
|
75 |
|
77 |
.if exists(${LOCALBASE}/lib/libfam.so) |
|
|
78 |
USE_FAM= yes |
79 |
.endif |
80 |
|
81 |
post-patch: |
76 |
post-patch: |
82 |
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \ |
|
|
83 |
${WRKSRC}/configure ${WRKSRC}/libgc/configure |
84 |
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \ |
85 |
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' \ |
86 |
${WRKSRC}/mcs/tools/mkbundle/mkbundle.cs |
87 |
@${REINPLACE_CMD} -e 's|libgamin-1.so.0|libgamin-1.so.1|g' \ |
77 |
@${REINPLACE_CMD} -e 's|libgamin-1.so.0|libgamin-1.so.1|g' \ |
88 |
${WRKSRC}/mcs/class/System/System.IO/FAMWatcher.cs |
78 |
${WRKSRC}/mcs/class/System/System.IO/FAMWatcher.cs |
89 |
@${REINPLACE_CMD} -e 's|^#!/bin/bash|#!/bin/sh|g' \ |
79 |
@${REINPLACE_CMD} -e 's|^#!/bin/bash|#!/bin/sh|g' \ |
Lines 94-116
Link Here
|
94 |
${WRKSRC}/mcs/class/Mono.Cairo/Samples/png/compile.sh \ |
84 |
${WRKSRC}/mcs/class/Mono.Cairo/Samples/png/compile.sh \ |
95 |
${WRKSRC}/mcs/class/Mono.Cairo/Samples/win32/compile.sh \ |
85 |
${WRKSRC}/mcs/class/Mono.Cairo/Samples/win32/compile.sh \ |
96 |
${WRKSRC}/mcs/class/Mono.Cairo/Samples/x11/compile.sh |
86 |
${WRKSRC}/mcs/class/Mono.Cairo/Samples/x11/compile.sh |
97 |
@${REINPLACE_CMD} -e 's|^#!/bin/perl|#!/usr/bin/env perl|g' \ |
|
|
98 |
${WRKSRC}/mcs/errors/do-tests.pl \ |
99 |
${WRKSRC}/mcs/tools/scan-tests.pl \ |
100 |
${WRKSRC}/msvc/create-windef.pl \ |
101 |
${WRKSRC}/mono/benchmark/test-driver \ |
102 |
${WRKSRC}/mono/cil/make-opcodes-def.pl \ |
103 |
${WRKSRC}/mono/metadata/make-bundle.pl \ |
104 |
${WRKSRC}/mono/mini/genmdesc.pl \ |
105 |
${WRKSRC}/mono/tests/stress-runner.pl |
106 |
|
107 |
.if ${OSVERSION} >= 700000 && ${OSVERSION} < 800000 |
108 |
@${REINPLACE_CMD} -e 's|freebsd6|freebsd7|g' \ |
109 |
${WRKSRC}/configure ${WRKSRC}/libgc/configure |
110 |
.elif ${OSVERSION} >= 800000 |
111 |
@${REINPLACE_CMD} -e 's|freebsd6|freebsd8|g' \ |
112 |
${WRKSRC}/configure ${WRKSRC}/libgc/configure |
113 |
.endif |
114 |
|
87 |
|
115 |
tests: build |
88 |
tests: build |
116 |
@${ECHO_MSG} "===> Running mono regression tests" |
89 |
@${ECHO_MSG} "===> Running mono regression tests" |