#
#
#
# Makefile.PL for ::Ucred
#
require 5.8.4;
use Config;
use strict;
use warnings;
# #defines.
# List of POD pages to install.
#
# If not building as part of ON.
#
if (! exists($ENV{ENVCPPFLAGS1})) {
#
# Suppress the setting of LD_RUN_PATH. The ON build environment
# contains a modified MakeMaker that does this automatically, so we
# only need to do this if we are building outside of ON.
#
package MY;
no warnings qw(once);
# Override const_loadlibs to remove LD_RUN_PATH cruft.
*const_loadlibs = sub
{
my $self = shift(@_);
delete($self->{LD_RUN_PATH});
};
# Override dynamic_lib to get rid of LD_RUN_PATH cruft.
*dynamic_lib = sub
{
my $self = shift(@_);
$txt =~ s/LD_RUN_PATH=\S*\s*//;
return($txt);
};
# Turn off debugging.
@defines = ();
#
# Install the POD documentation for non-ON builds.
#
my $man3pfx = '$(INST_MAN3DIR)/Sun::Solaris::Ucred';
@man3pods = (
);
}
NAME => 'Sun::Solaris::Ucred',
VERSION_FROM => 'Ucred.pm',
#PREREQ_PM => { 'Sun::Solaris::Privilege' => '1.1' },
@defines,
@man3pods,
);