Make this require perl version 5.002 or later to run.

Noticed by:	John Baldwin <jobaldwi@vt.edu>
This commit is contained in:
Steve Price 1998-12-15 16:28:52 +00:00
parent 9f9e9d2d50
commit 8bc192fe23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15360

View file

@ -1,6 +1,6 @@
#!/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
# 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
# out the new INDEX file.
require 5.002;
# Helper function to map a directory to a pkgname.
sub by_path {
my $name = shift;