/[fuse.before_github]/perl-llin/Makefile.PL
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /perl-llin/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 109 by dpavlin, Sat Jan 20 12:37:03 2007 UTC revision 122 by dpavlin, Sun Mar 16 14:14:51 2008 UTC
# Line 11  $ver3 =~ s/^.*?version\s+//; Line 11  $ver3 =~ s/^.*?version\s+//;
11  if (! $ver && ! $ver2 && ! $ver3) {  if (! $ver && ! $ver2 && ! $ver3) {
12          # make CPANPLUS happy and don't report errors if fuse isn't installed          # make CPANPLUS happy and don't report errors if fuse isn't installed
13          die("No support for os: $^O\n",          die("No support for os: $^O\n",
14                  "You need to have fuse-dev (or similar) package installed and have sufficient permissions in order to install this module\n"                  "You need to have fuse-dev (or similar) package installed and have sufficient permissions in order to install this module\n",
15                    $^O eq 'darwin' ? ("One option on Mac is http://code.google.com/p/macfuse/\n") : (),
16          );          );
17  }  }
18  if ($ver && $ver + 0 < 2.5) {  if ($ver && $ver + 0 < 2.5) {
# Line 29  if ($ver && $ver + 0 < 2.5) { Line 30  if ($ver && $ver + 0 < 2.5) {
30  my $inc = '-DFUSE_USE_VERSION=25 ' . `pkg-config --cflags fuse` || '-I ../include -D_FILE_OFFSET_BITS=64';  my $inc = '-DFUSE_USE_VERSION=25 ' . `pkg-config --cflags fuse` || '-I ../include -D_FILE_OFFSET_BITS=64';
31  my $obj = `pkg-config --libs fuse` || '-lfuse';  my $obj = `pkg-config --libs fuse` || '-lfuse';
32  my $def = '-Wall -g -ggdb';  my $def = '-Wall -g -ggdb';
33  $def .= ' -D__FreeBSD__=10' if $^O eq 'darwin';  $def .= ' -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64' if $^O eq 'darwin';
34    
35  WriteMakefile(  WriteMakefile(
36          'NAME'                  => 'Fuse',          'NAME'                  => 'Fuse',
# Line 49  WriteMakefile( Line 50  WriteMakefile(
50  sub MY::postamble {  sub MY::postamble {
51          return <<'MAKE_MORE';          return <<'MAKE_MORE';
52    
53    cpan:
54            make clean
55            rm -f Fuse-*.tar.gz
56            perl Makefile.PL
57            make dist
58            make disttest
59            @echo
60            @echo -n "Upload" Fuse-*.tar.gz "to CPAN? [y/N]:"
61            @read upload && test "$$upload" == "y" && cpan-upload -verbose Fuse-*.tar.gz
62    
63    
64    
65  sf:  sf:
66          svn2cvs.pl file:///home/dpavlin/private/svn/fuse/perl-llin :ext:dpavlin@fuse.cvs.sourceforge.net:/cvsroot/fuse perl          svn2cvs.pl file:///home/dpavlin/private/svn/fuse/perl-llin :ext:dpavlin@fuse.cvs.sourceforge.net:/cvsroot/fuse perl
67    

Legend:
Removed from v.109  
changed lines
  Added in v.122

  ViewVC Help
Powered by ViewVC 1.1.26