aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-12-16 00:28:52 +0800
committersteve <steve@FreeBSD.org>1998-12-16 00:28:52 +0800
commit2a6ccffd36e8d50c8394fef17969b151d348e9b5 (patch)
tree35639b65bfdfcac082c2823c74b4f375f0fb3e93 /Tools
parentb7655f4f9f67b3ce055afec4ab5bf1b338cd2922 (diff)
downloadfreebsd-ports-gnome-2a6ccffd36e8d50c8394fef17969b151d348e9b5.tar.gz
freebsd-ports-gnome-2a6ccffd36e8d50c8394fef17969b151d348e9b5.tar.zst
freebsd-ports-gnome-2a6ccffd36e8d50c8394fef17969b151d348e9b5.zip
Make this require perl version 5.002 or later to run.
Noticed by: John Baldwin <jobaldwi@vt.edu>
Diffstat (limited to 'Tools')
-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;