freebsd-ports/archivers/dpkg/files/patch-scripts_cleanup-info.pl
Martin Wilke 76965980d6 - Update to 1.13.25
- Add new manpage layout

PR:             105560
Submitted by:   Nick Barkas <snb@threerings.net>
Approved by:    perky@ (maintainer timeout)
2007-02-06 21:05:29 +00:00

19 lines
472 B
Perl

--- scripts/cleanup-info.pl.orig Tue Jun 20 19:36:39 2006
+++ scripts/cleanup-info.pl Fri Nov 10 12:22:49 2006
@@ -25,6 +25,7 @@
# use strict;
my $dpkglibdir = "."; # This line modified by Makefile
+my $prefix = "/usr"; # This line modified by Makefile
push(@INC,$dpkglibdir);
require 'dpkg-gettext.pl';
textdomain("dpkg");
@@ -56,7 +57,7 @@
"), $0;
}
-my $infodir = '/usr/info';
+my $infodir = "$prefix/info";
my $unsafe = 0;
$0 =~ m|[^/]+$|;
my $name= $&;