summaryrefslogtreecommitdiff
path: root/Tools/make_index
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-12-15 16:28:52 +0000
committerSteve Price <steve@FreeBSD.org>1998-12-15 16:28:52 +0000
commit8bc192fe23f5b84a7409c5b6585aaa0519bd90cd (patch)
tree0d72841fac675fd982efc9f91d372809d3e73efb /Tools/make_index
parentjapanese/skk-elisp: (diff)
Make this require perl version 5.002 or later to run.
Noticed by: John Baldwin <jobaldwi@vt.edu>
Notes
Notes: svn path=/head/; revision=15360
Diffstat (limited to 'Tools/make_index')
-rw-r--r--Tools/make_index4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/make_index b/Tools/make_index
index aa465b820e8a..9a5cedc3ccd6 100644
--- a/Tools/make_index
+++ b/Tools/make_index
@@ -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;