ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Makefile.PL
(Generate patch)

Comparing deliantra/Deliantra-Client/Makefile.PL (file contents):
Revision 1.113 by root, Wed Sep 24 02:09:51 2008 UTC vs.
Revision 1.125 by root, Sat Dec 31 04:23:41 2011 UTC

22 22
23*** HINT: Debian/Ubuntu users might have some luck with: 23*** HINT: Debian/Ubuntu users might have some luck with:
24*** apt-get install perl libpango1.0-dev libglib2.0-dev libsdl1.2-dev 24*** apt-get install perl libpango1.0-dev libglib2.0-dev libsdl1.2-dev
25*** apt-get install libsdl-mixer1.2-dev libsdl-image1.2-dev 25*** apt-get install libsdl-mixer1.2-dev libsdl-image1.2-dev
26*** apt-get install libwww-perl libdb4.4-dev 26*** apt-get install libwww-perl libdb4.4-dev
27*** apt-get install anyevent-perl 27*** apt-get install libanyevent-perl
28 28
29EOF 29EOF
30 30
31if ($^O =~ /win32/i or $^O =~ /mswin/) { 31if ($^O =~ /win32/i or $^O =~ /mswin/) {
32 print <<EOF; 32 print <<EOF;
40 $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>; 40 $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>;
41 $LIBS = join "", map " $_ ", 41 $LIBS = join "", map " $_ ",
42 qx<sdl-config --libs>, 42 qx<sdl-config --libs>,
43 "-lSDL_image -lSDL_mixer", 43 "-lSDL_image -lSDL_mixer",
44 qx<pkg-config pangoft2 --libs>, 44 qx<pkg-config pangoft2 --libs>,
45 "-L/usr/X11/lib -lGL"; 45 "-L/usr/X11/lib";
46
47 $LIBS .= " -lGL" unless $^O =~ /darwin/i; # sigh... os x is so borked
46 48
47 $_ =~ s/\n/ /g for $INC, $LIBS; 49 $_ =~ s/\n/ /g for $INC, $LIBS;
48 50
49 # for extra horrid macosx joys 51 # for extra horrid macosx joys
50 $lddlflags .= " $1" while $LIBS =~ s/ (-Wl,\S+) / /; 52 $lddlflags .= " $1" while $LIBS =~ s/ (-Wl,\S+) / /;
61 LIBS => [$LIBS], 63 LIBS => [$LIBS],
62 LDDLFLAGS => $lddlflags, 64 LDDLFLAGS => $lddlflags,
63 EXE_FILES => [qw(bin/deliantra)], 65 EXE_FILES => [qw(bin/deliantra)],
64 VERSION_FROM => "DC.pm", 66 VERSION_FROM => "DC.pm",
65 PREREQ_PM => { 67 PREREQ_PM => {
68 common::sense => 3.1,
66 BDB => 1.71, 69 BDB => 1.83,
67 Deliantra => 1.22, 70 Deliantra => 1.31,
68 Time::HiRes => 0, 71 Time::HiRes => 0,
69 EV => 3.42, 72 EV => 3.42,
73 Guard => 1,
70 AnyEvent => 4.22, 74 AnyEvent => 4.331,
71 Compress::LZF => 3.41, 75 Compress::LZF => 3.41,
72 Pod::POM => 0.15, 76 Pod::POM => 0.27,
73 LWP => 0, 77 LWP => 0,
74 JSON::XS => 2.2222, 78 JSON::XS => 2.2222,
75 }, 79 },
76 depend => { 80 depend => {
77 "Client.o" => 'glfunc.h pangoopengl.h pango-font.c pango-fontmap.c pango-render.c texcache.c rendercache.c', 81 "Client.o" => 'glfunc.h pangoopengl.h pango-font.c pango-fontmap.c pango-render.c texcache.c rendercache.c',
78 }, 82 },
79 clean => { FILES => 'docwiki.pst' }, 83 clean => { FILES => 'docwiki.pst' },
80 PM => { 84 PM => {
81 'DC.pm' => '$(INST_LIBDIR)/Client/private/DC.pm', 85 'DC.pm' => '$(INST_LIBDIR)/Client/private/DC.pm',
86 'DC/Main.pm' => '$(INST_LIBDIR)/Client/private/DC/Main.pm',
82 'DC/Protocol.pm' => '$(INST_LIBDIR)/Client/private/DC/Protocol.pm', 87 'DC/Protocol.pm' => '$(INST_LIBDIR)/Client/private/DC/Protocol.pm',
83 'DC/OpenGL.pm' => '$(INST_LIBDIR)/Client/private/DC/OpenGL.pm', 88 'DC/OpenGL.pm' => '$(INST_LIBDIR)/Client/private/DC/OpenGL.pm',
84 'DC/Texture.pm' => '$(INST_LIBDIR)/Client/private/DC/Texture.pm', 89 'DC/Texture.pm' => '$(INST_LIBDIR)/Client/private/DC/Texture.pm',
85 'DC/DB.pm' => '$(INST_LIBDIR)/Client/private/DC/DB.pm', 90 'DC/DB.pm' => '$(INST_LIBDIR)/Client/private/DC/DB.pm',
86 'DC/UI.pm' => '$(INST_LIBDIR)/Client/private/DC/UI.pm', 91 'DC/UI.pm' => '$(INST_LIBDIR)/Client/private/DC/UI.pm',

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines