/[fuse.before_github]/cpan/0.07_3/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

Annotation of /cpan/0.07_3/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 60 - (hide annotations)
Tue Jan 3 15:42:57 2006 UTC (18 years, 2 months ago) by dpavlin
Original Path: perl-llin/Makefile.PL
File MIME type: text/plain
File size: 1086 byte(s)
added -D_FILE_OFFSET_BITS=64 need for FreeBSD compilation
1 mszeredi 4 use ExtUtils::MakeMaker;
2     # See lib/ExtUtils/MakeMaker.pm for details of how to influence
3     # the contents of the Makefile that is written.
4 dpavlin 31
5 dpavlin 60 my $inc = `pkg-config --cflags` || '-I ../include -D_FILE_OFFSET_BITS=64';
6 dpavlin 31 my $obj = `pkg-config --libs fuse` || '-lfuse';
7    
8 mszeredi 4 WriteMakefile(
9     'NAME' => 'Fuse',
10     'VERSION_FROM' => 'Fuse.pm', # finds $VERSION
11     'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
12     ($] >= 5.005 ? ## Add these new keywords supported since 5.005
13     (ABSTRACT_FROM => 'Fuse.pm', # retrieve abstract from module
14     AUTHOR => 'Mark Glines <mark@glines.org>') : ()),
15     'LIBS' => [''], # e.g., '-lm'
16     'DEFINE' => '-g -ggdb', # e.g., '-DHAVE_SOMETHING'
17     # Insert -I. if you add *.h files later:
18 dpavlin 31 'INC' => $inc, # e.g., '-I/usr/include/other'
19 mszeredi 4 # Un-comment this if you add C files to link with later:
20 dpavlin 31 'OBJECT' => "$obj Fuse.o -lpthread", # link all the C files too
21 mszeredi 4 );
22 dpavlin 59
23     sub MY::postamble {
24     return <<'MAKE_MORE';
25    
26     sf:
27     svn2cvs.pl file:///home/dpavlin/.svk/fuse/perl-llin :ext:dpavlin@cvs.sourceforge.net:/cvsroot/fuse perl
28    
29     MAKE_MORE
30     };

  ViewVC Help
Powered by ViewVC 1.1.26