diff --git a/games/pingus/Makefile b/games/pingus/Makefile index b403a491463..b98485b3326 100644 --- a/games/pingus/Makefile +++ b/games/pingus/Makefile @@ -29,9 +29,6 @@ NO_TEST= Yes pre-configure: ${SUBST_CMD} ${WRKSRC}/src/pingus/pingus_main.cpp -pre-patch: - 2to3 -w ${WRKSRC}/SConscript - do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} \ ${MODSCONS_ENV} \ diff --git a/games/pingus/patches/patch-SConscript b/games/pingus/patches/patch-SConscript index ecead752556..63f501a8a54 100644 --- a/games/pingus/patches/patch-SConscript +++ b/games/pingus/patches/patch-SConscript @@ -1,3 +1,4 @@ +apply 2to3 Switched to boost::signals2 Index: SConscript @@ -11,6 +12,23 @@ Index: SConscript self.opts.Add('LINKFLAGS', 'Linker Compiler flags', []) self.opts.Add(BoolVariable('with_opengl', 'Build with OpenGL support', True)) +@@ -126,12 +125,12 @@ class Project: + def configure_end(self): + self.env = self.conf.Finish() + +- print "Reports:" +- print self.reports ++ print("Reports:") ++ print(self.reports) + + if not self.fatal_error == "": +- print "Fatal Errors:" +- print self.fatal_error ++ print("Fatal Errors:") ++ print(self.fatal_error) + Exit(1) + + def configure_gxx(self): @@ -182,14 +181,13 @@ class Project: else: self.reports += " * XInput support: yes\n"