summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-12-04 15:01:51 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-12-04 15:01:51 +0000
commit04329e5bfc6df0204e91b20c1a54a007fec5fd3b (patch)
tree1a5e3662ddd4e21e4d58b9edc1d77eec066a351e
parentcomms/owfs: update to 3.2p4 (diff)
- Remove python2 scons requirement
-rw-r--r--games/pink-pony/Makefile2
-rw-r--r--games/pink-pony/files/patch-SConstruct2
2 files changed, 2 insertions, 2 deletions
diff --git a/games/pink-pony/Makefile b/games/pink-pony/Makefile
index 52b4905f3808..9cdfede1ad88 100644
--- a/games/pink-pony/Makefile
+++ b/games/pink-pony/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libIL.so:graphics/devil \
USE_GITHUB= yes
GH_ACCOUNT= ginkgo
-USES= pkgconfig scons:python2 compiler:c++11-lang gl sdl
+USES= pkgconfig scons compiler:c++11-lang gl sdl
USE_CXXSTD= c++11
USE_GL= gl glu
USE_SDL= mixer
diff --git a/games/pink-pony/files/patch-SConstruct b/games/pink-pony/files/patch-SConstruct
index 70a3129193d9..ed8805c988e1 100644
--- a/games/pink-pony/files/patch-SConstruct
+++ b/games/pink-pony/files/patch-SConstruct
@@ -5,7 +5,7 @@
#optimization_flags = ['-O0', '-ggdb']
-env = Environment()
-+env = Environment(ENV=os.environ, **dict((k, v.split()) for k, v in ARGUMENTS.iteritems()))
++env = Environment(ENV=os.environ, **dict((k, v.split()) for k, v in ARGUMENTS.items()))
-env['CC'] = 'g++'
-env['CCFLAGS'] = ['-Wall', '-Wextra', '-Wno-reorder', '-Wno-unused-parameter'] + optimization_flags
+env.Append(CCFLAGS = ['-Wall', '-Wextra', '-Wno-reorder', '-Wno-unused-parameter'])