mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Make this require perl version 5.002 or later to run.
Noticed by: John Baldwin <jobaldwi@vt.edu>
This commit is contained in:
parent
9f9e9d2d50
commit
8bc192fe23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15360
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id: make_index,v 1.1 1998/12/12 07:41:49 asami Exp $
|
||||||
#
|
#
|
||||||
# Written to speed-up INDEX file generation. The new scheme
|
# Written to speed-up INDEX file generation. The new scheme
|
||||||
# basically visits each port once and writes out each port's
|
# basically visits each port once and writes out each port's
|
||||||
|
@ -9,6 +9,8 @@
|
||||||
# fixes up the build-depends and run-depends list, and writes
|
# fixes up the build-depends and run-depends list, and writes
|
||||||
# out the new INDEX file.
|
# out the new INDEX file.
|
||||||
|
|
||||||
|
require 5.002;
|
||||||
|
|
||||||
# Helper function to map a directory to a pkgname.
|
# Helper function to map a directory to a pkgname.
|
||||||
sub by_path {
|
sub by_path {
|
||||||
my $name = shift;
|
my $name = shift;
|
||||||
|
|
Loading…
Add table
Reference in a new issue