# $NetBSD: Policy.sh,v 1.1 2010/08/19 20:47:10 seb Exp $ # # Site-wide policy settings for pkgsrc Perl # archname='@MACHINE_ARCH@-@LOWER_OPSYS@' cc='@CC@' if $test -n '@CFLAGS@'; then optimize='@CFLAGS@' fi i_malloc='undef' installusrbinperl='undef' installstyle='lib/perl5' # Perl embeds the full paths to the following tools in several installed # files, so make sure the paths to the ones in ${TOOLS_DIR} aren't used. aphostname='@TOOLS_HOSTNAME_CMD@' ln='@TOOLS_LN@' lns='@TOOLS_LN@ -s' sed='@TOOLS_SED@' sh='@TOOLS_SH@' issymlink='@TOOLS_TEST@ -h' perl5='@FALSE@' # Installation directories for "perl", "vendor" and "site" bits. prefix='@PERL5_PREFIX@' siteprefix='@PERL5_SITEPREFIX@' vendorprefix='@PERL5_VENDORPREFIX@' # The Perl Configure script will install scripts into "*/script" # directories if they exist, so override with explicit settings. scriptdir='@PERL5_SCRIPTDIR@' sitescript='@PERL5_SITEBASE@/bin' vendorscript='@PERL5_VENDORBASE@/bin' # Put any compiled binaries into vendor- and site-specific locations to # avoid conflicts with each other. The perllink script will handle all # the appropriate symlinking. sitebin='@PERL5_SITEBASE@/bin' vendorbin='@PERL5_VENDORBASE@/bin' # Put the API-specific files into API-specific directories instead # of the default version-specific directories. privlib='@PERL5_PRIVLIB@' sitelib='@PERL5_SITELIB@' vendorlib='@PERL5_VENDORLIB@' # Search for version-specific directories under these directories. sitelib_stem='@PERL5_SITEBASE@' vendorlib_stem='@PERL5_VENDORBASE@' # Avoid manpage conflicts between the standard Perl library, 3rd-party # modules, and other packages. man1ext='1' man1dir='@PERL5_MAN1DIR@' siteman1dir='@PERL5_SITEBASE@/@PKGMANDIR@/man1' vendorman1dir='@PERL5_VENDORBASE@/@PKGMANDIR@/man1' man3ext='3' man3dir='@PERL5_PERLBASE@/@PKGMANDIR@/man3' siteman3dir='@PERL5_SITEBASE@/@PKGMANDIR@/man3' vendorman3dir='@PERL5_VENDORBASE@/@PKGMANDIR@/man3' # Nail down the needed libraries for each platform here to avoid hidden # dependencies. If this isn't defined, then use the perl defaults for the # particular operating system. if $test -n "@LIBSWANTED@"; then libswanted="@LIBSWANTED@ " fi # Add the pkgsrc-derived LDFLAGS for linking against pthreads to the # usethreads.cbu call-back script if $test -n "@PTHREAD_LDFLAGS@"; then cat >> UU/usethreads.cbu < UU/pkgsrc.cbu <