jer         14/10/25 13:06:42

  Modified:             tomenet-4.5.5-makefile.patch
  Log:
  Fix building against sys-libs/ncurses[tinfo] (bug #526714).
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.2                  games-roguelike/tomenet/files/tomenet-4.5.5-makefile.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/tomenet/files/tomenet-4.5.5-makefile.patch?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/tomenet/files/tomenet-4.5.5-makefile.patch?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/tomenet/files/tomenet-4.5.5-makefile.patch?r1=1.1&r2=1.2

Index: tomenet-4.5.5-makefile.patch
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/games-roguelike/tomenet/files/tomenet-4.5.5-makefile.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tomenet-4.5.5-makefile.patch        16 Nov 2013 09:59:12 -0000      1.1
+++ tomenet-4.5.5-makefile.patch        25 Oct 2014 13:06:42 -0000      1.2
@@ -48,7 +48,7 @@
 -LIBS = -L${X11BASE}/lib -L/usr/pkg/lib -lX11 -lncurses -lcrypt -lm 
`sdl-config --libs` -lSDL_mixer
 +CFLAGS += -Wall
 +CFLAGS += -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937
-+LIBS += -L/usr/pkg/lib -lncurses -lcrypt -lm ${SDL_LIBS}
++LIBS += -L/usr/pkg/lib $(shell ${PKG_CONFIG} --libs ncurses) -lcrypt -lm 
${SDL_LIBS}
  ##
  ## Without SDL
  #CFLAGS = -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I${X11BASE}/include 
-D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937




Reply via email to