1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

lang/mono: Require python 2.7

- Revive python patch for mono-heapviz
- Also remove unnecessary mirror/distfile tag
This commit is contained in:
Mark Felder 2018-06-18 14:10:57 +00:00
parent e1d0ad3767
commit 8c5039e5b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472696
2 changed files with 15 additions and 4 deletions

View File

@ -3,10 +3,10 @@
PORTNAME= mono
PORTVERSION= 5.10.1.47
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= https://download.mono-project.com/sources/mono/:mono
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:mono
MASTER_SITES= https://download.mono-project.com/sources/mono/
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= mono@FreeBSD.org
COMMENT= Open source implementation of .NET Development Framework
@ -36,7 +36,7 @@ MONOLITE_VERSION= 1051000004
X11_USES= display:test
USES= autoreconf bison compiler:c11 cpe gettext gmake iconv libtool \
pathfix perl5 python shebangfix tar:bzip2
pathfix perl5 python:2.7 shebangfix tar:bzip2
USE_PERL5= build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

View File

@ -0,0 +1,11 @@
--- scripts/mono-heapviz.orig 2018-01-18 17:41:54 UTC
+++ scripts/mono-heapviz
@@ -7,7 +7,7 @@
from __future__ import print_function
import sys, os
-import Image, ImageDraw
+from PIL import Image, ImageDraw
from xml.sax import ContentHandler, make_parser
from xml.sax.handler import feature_namespaces
from optparse import OptionParser