summaryrefslogtreecommitdiffstats
path: root/Tools/make_index
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-12-15 16:28:52 +0000
committersteve <steve@FreeBSD.org>1998-12-15 16:28:52 +0000
commit2a6ccffd36e8d50c8394fef17969b151d348e9b5 (patch)
tree35639b65bfdfcac082c2823c74b4f375f0fb3e93 /Tools/make_index
parentb7655f4f9f67b3ce055afec4ab5bf1b338cd2922 (diff)
downloadFreeBSD-ports-2a6ccffd36e8d50c8394fef17969b151d348e9b5.zip
FreeBSD-ports-2a6ccffd36e8d50c8394fef17969b151d348e9b5.tar.gz
Make this require perl version 5.002 or later to run.
Noticed by: John Baldwin <jobaldwi@vt.edu>
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 aa465b8..9a5cedc 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;
OpenPOWER on IntegriCloud