From 8c5039e5b4ae872d232267c5b3cf46a9ca3c9985 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Mon, 18 Jun 2018 14:10:57 +0000 Subject: [PATCH] lang/mono: Require python 2.7 - Revive python patch for mono-heapviz - Also remove unnecessary mirror/distfile tag --- lang/mono/Makefile | 8 ++++---- lang/mono/files/patch-scripts_mono-heapviz | 11 +++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 lang/mono/files/patch-scripts_mono-heapviz diff --git a/lang/mono/Makefile b/lang/mono/Makefile index 276a19ae95c6..c627ea32e155 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -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 diff --git a/lang/mono/files/patch-scripts_mono-heapviz b/lang/mono/files/patch-scripts_mono-heapviz new file mode 100644 index 000000000000..fc44982f44f8 --- /dev/null +++ b/lang/mono/files/patch-scripts_mono-heapviz @@ -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