mr_bones_ 15/02/22 08:58:17 Modified: tomenet-4.5.9-makefile.patch Log: use pkg-config to get ncurses libs (bug #540614) (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.2 games-roguelike/tomenet/files/tomenet-4.5.9-makefile.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/tomenet/files/tomenet-4.5.9-makefile.patch?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/tomenet/files/tomenet-4.5.9-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.9-makefile.patch?r1=1.1&r2=1.2 Index: tomenet-4.5.9-makefile.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/files/tomenet-4.5.9-makefile.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tomenet-4.5.9-makefile.patch 18 Feb 2015 09:13:13 -0000 1.1 +++ tomenet-4.5.9-makefile.patch 22 Feb 2015 08:58:17 -0000 1.2 @@ -54,6 +54,15 @@ ## ## Without SDL #CFLAGS = -g -pipe -Wall -DUSE_X11 -I${X11BASE}/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 +@@ -257,7 +270,7 @@ + # + ## With SDL + CFLAGS = -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I${X11BASE}/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 +-LIBS = -L${X11BASE}/lib -L/usr/pkg/lib -lX11 -lncurses -lcrypt -lm `sdl-config --libs` -lSDL_mixer ++LIBS = -L${X11BASE}/lib -L/usr/pkg/lib -lX11 $(shell ${PKG_CONFIG} --libs ncurses) -lcrypt -lm $(shell sdl-config --libs) -lSDL_mixer + ## + ## Without SDL + #CFLAGS = -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I${X11BASE}/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 @@ -357,9 +370,6 @@ # Compile a client with 'test client' version/tag tomenet.test: CFLAGS += -DTEST_CLIENT -O0
