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.61 by root, Tue Aug 15 05:58:13 2006 UTC vs.
Revision 1.65 by root, Sun Oct 1 14:48:50 2006 UTC

26*** microsoft compatibility forced us to only support manual configuration 26*** microsoft compatibility forced us to only support manual configuration
27*** by editing Makefile.PL. complain to microsoft. 27*** by editing Makefile.PL. complain to microsoft.
28 28
29EOF 29EOF
30 $INC = "-I/gtk/include -I/gtk/include/pango-1.0 -I/gtk/include/glib-2.0 -I/gtk/lib/glib-2.0/include/ -I/gtk/include/freetype2"; 30 $INC = "-I/gtk/include -I/gtk/include/pango-1.0 -I/gtk/include/glib-2.0 -I/gtk/lib/glib-2.0/include/ -I/gtk/include/freetype2";
31 $LIBS = "-L/gtk/lib -lSDL -lSDL_image -lSDL_mixer -lpango-1.0 -lpangoft2-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lfreetype -lfontconfig -lopengl32", 31 $LIBS = "-L/gtk/lib -lSDL -lSDL_image -lSDL_mixer -lpango-1.0 -lpangoft2-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lfreetype -lfontconfig -lopengl32 -lwininet",
32} else { 32} else {
33 $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>; 33 $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>;
34 $LIBS = join " ", qx<sdl-config --libs>, "-lSDL_image -lSDL_mixer", qx<pkg-config pangoft2 --libs>, "-lGL"; 34 $LIBS = join " ", qx<sdl-config --libs>, "-lSDL_image -lSDL_mixer", qx<pkg-config pangoft2 --libs>, "-lGL";
35 35
36 $INC =~ s/\n/ /g for $INC, $LIBS; 36 $INC =~ s/\n/ /g for $INC, $LIBS;
47 LIBS => [$LIBS], 47 LIBS => [$LIBS],
48 EXE_FILES => [qw(bin/cfplus)], 48 EXE_FILES => [qw(bin/cfplus)],
49 VERSION_FROM => "CFPlus.pm", 49 VERSION_FROM => "CFPlus.pm",
50 PREREQ_PM => { 50 PREREQ_PM => {
51 BerkeleyDB => 0.27, 51 BerkeleyDB => 0.27,
52 Crossfire => 0.8, 52 Crossfire => 0.91,
53 Time::HiRes => 0, 53 Time::HiRes => 0,
54 Event => 1.01, 54 Event => 1.01,
55 AnyEvent => 0, 55 AnyEvent => 0,
56 Compress::LZF => 1.6, 56 Compress::LZF => 1.6,
57 Pod::POM => 0.15, 57 Pod::POM => 0.15,
73 (map +($_ => "\$(INST_LIBDIR)/CFPlus/$_"), manifest_resources), 73 (map +($_ => "\$(INST_LIBDIR)/CFPlus/$_"), manifest_resources),
74 } 74 }
75); 75);
76 76
77sub MY::postamble { 77sub MY::postamble {
78 my $self=shift; 78 my $self = shift;
79
80 # try to add MANIFEST to CONFIGDEP
81 s/^CONFIGDEP = /CONFIGDEP = MANIFEST /m
82 for @{ $self->{RESULT} };
79 83
80 my $pods = join " ", <pod/*.pod>; 84 my $pods = join " ", <pod/*.pod>;
81 85
82 <<EOF 86 <<EOF
83 87
84all :: docwiki.pst 88all :: docwiki.pst
85 89
86Makefile :: MANIFEST
87
88docwiki.pst: bin/pod2wiki $pods 90docwiki.pst: bin/pod2wiki $pods
89 \$(PERL) -Mlib=. bin/pod2wiki $pods 91 \$(PERL) -Mlib=. bin/pod2wiki $pods
90 92
91EOF 93EOF
92} 94}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines