3 Teach Makefile.PL about libquota.
5 --- Makefile.PL.orig 2011-11-13 16:21:52.000000000 +0100
6 +++ Makefile.PL 2012-05-14 16:21:37.000000000 +0200
8 warn "WARNING: No appropriate hints found for this OS: '$os - see INSTALL'\n";
13 # check whether the Andrew File System (AFS) is installed and running
16 $hasafs = '-DAFSQUOTA';
17 $AFSHOME = -d "/usr/afsws" ? "/usr/afsws" : "/usr";
18 $extrainc = "-I$AFSHOME/include -I$AFSHOME/include/afs";
19 - $extralibs = "-L$AFSHOME/lib -L$AFSHOME/lib/afs -lsys -lrx -lrxkad -llwp";
20 + $extralibs .= " -L$AFSHOME/lib -L$AFSHOME/lib/afs -lsys -lrx -lrxkad -llwp";
21 $afsquota = "afsquota.o";
28 +# check whether wee are using the NetBSD quota library
29 +if ( ($os =~ /^NetBSD 6/) or ($os =~ /^NetBSD 5\.99\.(\d\d)/ and $1 >= 59) ) {
30 + $extralibs .= " -lquota";
33 #-----------------------------------------------------------------------------#
35 use ExtUtils::MakeMaker;