Downloaded from https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/kiki-the-nano-bot/debian/patches/Makefile.patch?revision=15681&view=co Makefile fixes: - Make CXXFLAGS, CPPFLAGS, LDFLAGS available for user-specified flags. - run SWIG before compiling Peter De Wachter (pdewacht@gmail.com) placed in the public domain --- a/kodilib/linux/Makefile +++ b/kodilib/linux/Makefile @@ -21,7 +21,7 @@ INCLUDES = $(KODI_INCLUDES) $(X11_INCLUDES) $(SDL_INCLUDES) -CXXFLAGS = $(INCLUDES) $(SDL_CFLAGS) +CXXOPTS = -Wall $(INCLUDES) $(SDL_CFLAGS) $(CPPFLAGS) $(CXXFLAGS) src = \ $(KODISRCDIR)/handler/KEventHandler.cpp \ @@ -95,4 +95,4 @@ $(RM) -f $(obj) libkodi.a %.o: %.cpp - $(CXX) -c $(CXXFLAGS) -o $@ $< + $(CXX) -c $(CXXOPTS) -o $@ $< --- a/linux/Makefile +++ b/linux/Makefile @@ -46,7 +46,7 @@ INCLUDES = $(KIKI_INCLUDES) $(X11_INCLUDES) $(PYTHON_INCLUDES) -CXXFLAGS = $(INCLUDES) $(SDLCFLAGS) +CXXOPTS = -Wall $(INCLUDES) $(SDLCFLAGS) $(CPPFLAGS) $(CXXFLAGS) src = \ $(KIKISRC)/base/KikiAction.cpp \ @@ -105,8 +105,10 @@ obj = $(src:.cpp=.o) kiki: $(KIKISRC)/../SWIG/KikiPy_wrap.cpp $(obj) - -(cd ../SWIG; swig -c++ -python -globals kiki -o KikiPy_wrap.cpp KikiPy.i; cp kiki.py ../py) - $(CXX) $(obj) $(KODILIB) -o kiki $(GLLIBS) $(SDLLIBS) $(PYTHONLIBS) + $(CXX) $(LDFLAGS) $(obj) $(KODILIB) -o kiki $(GLLIBS) $(SDLLIBS) $(PYTHONLIBS) + +$(KIKISRC)/../SWIG/KikiPy_wrap.cpp: $(wildcard ../SWIG/*.i) + (cd ../SWIG && swig -c++ -python -globals kiki -DSWIG_PYTHON_LEGACY_BOOL -o KikiPy_wrap.cpp KikiPy.i && cp kiki.py ../py) obj-clean: $(RM) -f $(obj) @@ -115,5 +117,5 @@ $(RM) -f $(obj) kiki %.o: %.cpp - $(CXX) -c $(CXXFLAGS) -o $@ $< + $(CXX) -c $(CXXOPTS) -o $@ $< ption value='author'>author
path: root/gnu/packages/gimp.scm
+0200'>2017-05-09
AgeCommit message (Expand)Author
2018-03-17gnu: Fix common unquote typos....Tobias Geerinckx-Rice
2018-01-21gnu: babl: Update to 0.1.40....Tobias Geerinckx-Rice
2018-01-21gnu: babl: Parameterise source URI....Tobias Geerinckx-Rice
2018-01-21gnu: babl: Edit description....Tobias Geerinckx-Rice
2017-12-31gnu: gimp: Fix CVE-2017-{17784,17785,17786,17787,17789}....Leo Famulari
2017-12-20gnu: babl: Update to 0.1.38....Leo Famulari
2017-08-27gnu: babl: Update to 0.1.30....Marius Bakke
2017-08-08gnu: babl: Update to 0.1.28....Efraim Flashner
2017-08-08gnu: gegl: Use 'modify-phases' syntax....Efraim Flashner
2017-08-08gnu: gegl: Fix building on aarch64....Efraim Flashner
gnu: re2: Update to 2017-05-01....Marius Bakke
2017-05-07gnu: re2: Add missing '#:modules' imports....Sergei Trofimovich
2017-04-06gnu: re2: Update to 2017-04-01....Marius Bakke
2017-03-11gnu: re2: Set CXX for cross-compilation....Sergei Trofimovich
2017-03-01gnu: re2: Update to 2017-03-01....Marius Bakke
2017-01-30gnu: re2: Update to 2017-01-01....Marius Bakke
2016-11-02gnu: re2: Update to 2016-11-01....Marius Bakke
2016-09-12gnu: tre: Move to (gnu packages regex)....Marius Bakke