blob: 0703e3e6a38f34d79982ef0be575a9f229456aa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## 91-patch-dg-basedir.dpatch by Thomas Girard <thomas.g.girard@free.fr>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix path to DependencyGenerator.
@DPATCH@
--- ACE_wrappers.orig/bin/depgen.pl
+++ ACE_wrappers/bin/depgen.pl
@@ -19,12 +19,8 @@
use File::Spec;
use File::Basename;
-my($basePath) = $FindBin::RealBin;
-if ($^O eq 'VMS') {
- $basePath = File::Spec->rel2abs(dirname($0)) if ($basePath eq '');
- $basePath = VMS::Filespec::unixify($basePath);
-}
-unshift(@INC, $basePath . '/DependencyGenerator');
+my($basePath) = '/usr/share/ace/bin/DependencyGenerator';
+unshift(@INC, $basePath);
require DependencyEditor;
|