Use PLIST and PFRAG, makes updating simpler in some cases.
This commit is contained in:
parent
b1320b3d67
commit
778d367e08
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
# $OpenBSD: make-plist,v 1.19 2002/12/23 16:07:51 espie Exp $
|
||||
# $OpenBSD: make-plist,v 1.20 2003/01/06 20:16:21 espie Exp $
|
||||
|
||||
# Copyright (c) 1999 Marc Espie
|
||||
#
|
||||
@ -226,8 +226,10 @@ my $plistdir = shift;
|
||||
die "Update bsd.port.mk" if -f $plistdir;
|
||||
die "Update bsd.port.mk"
|
||||
unless defined $ENV{'DEPS'} and defined $ENV{'PKGREPOSITORY'};
|
||||
$plist = File::Spec->catfile($plistdir, 'PLIST');
|
||||
$pshared = File::Spec->catfile($plistdir, 'PFRAG.shared');
|
||||
die "Update bsd.port.mk"
|
||||
unless defined $ENV{'PLIST'} and defined $ENV{'PFRAG'};
|
||||
$plist = $ENV{'PLIST'};
|
||||
$pshared = $ENV{'PFRAG'}.'.shared';
|
||||
if (-e "$plist.orig" or -e "$pshared.orig") {
|
||||
die "You must clean up old files first";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user