diff options
author | dholland <dholland> | 2012-06-30 05:10:51 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-06-30 05:10:51 +0000 |
commit | a9e9743d787e38aa2a8397195c37554fbea15037 (patch) | |
tree | 04e7844c68519cfec8d4df1f8601d55404ade37c /sysutils/p5-Sys-Filesystem | |
parent | 843c2d6a2ea4cea74738e238c6fb8d8fc94c8271 (diff) | |
download | pkgsrc-a9e9743d787e38aa2a8397195c37554fbea15037.tar.gz |
Honor PATH_FSTAB in the environment if present. Allows this package to
configure in a chroot that doesn't have an fstab file. Cloned from
the corresponding freebsd file.
Diffstat (limited to 'sysutils/p5-Sys-Filesystem')
-rw-r--r-- | sysutils/p5-Sys-Filesystem/Makefile | 4 | ||||
-rw-r--r-- | sysutils/p5-Sys-Filesystem/distinfo | 3 | ||||
-rw-r--r-- | sysutils/p5-Sys-Filesystem/patches/patch-lib_Sys_Filesystem_Netbsd_pm | 17 |
3 files changed, 21 insertions, 3 deletions
diff --git a/sysutils/p5-Sys-Filesystem/Makefile b/sysutils/p5-Sys-Filesystem/Makefile index 6e16c919cf5..6204dddd6ce 100644 --- a/sysutils/p5-Sys-Filesystem/Makefile +++ b/sysutils/p5-Sys-Filesystem/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.8 2012/06/16 09:45:01 dholland Exp $ +# $NetBSD: Makefile,v 1.9 2012/06/30 05:10:51 dholland Exp $ # DISTNAME= Sys-Filesystem-1.30 PKGNAME= p5-${DISTNAME} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= sysutils devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Sys/} diff --git a/sysutils/p5-Sys-Filesystem/distinfo b/sysutils/p5-Sys-Filesystem/distinfo index 4cdf75a72ec..f681d1c509b 100644 --- a/sysutils/p5-Sys-Filesystem/distinfo +++ b/sysutils/p5-Sys-Filesystem/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2010/07/17 08:31:58 sno Exp $ +$NetBSD: distinfo,v 1.5 2012/06/30 05:10:51 dholland Exp $ SHA1 (Sys-Filesystem-1.30.tar.gz) = f7ef406c2093d0255fb073b72648276a295f8de8 RMD160 (Sys-Filesystem-1.30.tar.gz) = d909253efd74ee25e8d870bd73105e1d1f486b56 Size (Sys-Filesystem-1.30.tar.gz) = 34319 bytes +SHA1 (patch-lib_Sys_Filesystem_Netbsd_pm) = d193631d7034ce84e4b226a102084e2991b8c580 diff --git a/sysutils/p5-Sys-Filesystem/patches/patch-lib_Sys_Filesystem_Netbsd_pm b/sysutils/p5-Sys-Filesystem/patches/patch-lib_Sys_Filesystem_Netbsd_pm new file mode 100644 index 00000000000..0abcc4ea746 --- /dev/null +++ b/sysutils/p5-Sys-Filesystem/patches/patch-lib_Sys_Filesystem_Netbsd_pm @@ -0,0 +1,17 @@ +$NetBSD: patch-lib_Sys_Filesystem_Netbsd_pm,v 1.1 2012/06/30 05:10:51 dholland Exp $ + +Honor PATH_FSTAB in the environment if present. Allows this package to +configure in a chroot that doesn't have an fstab file. Cloned from +the freebsd file. + +--- lib/Sys/Filesystem/Netbsd.pm~ 2010-07-15 19:33:42.000000000 +0000 ++++ lib/Sys/Filesystem/Netbsd.pm +@@ -57,7 +57,7 @@ sub new + my $self = bless( {}, $class ); + + # Defaults +- $args{fstab} ||= '/etc/fstab'; ++ $args{fstab} ||= $ENV{PATH_FSTAB} || '/etc/fstab'; + + my @mounts = qx( /sbin/mount ); + $self->readMounts( $mount_rx, [ 0, 1, 2 ], [qw(fs_spec fs_file fs_vfstype fs_mntops)], \%special_fs, @mounts ); |