blob: bb76363b5689b91a5e148801899397d1c81b0fef (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
Description: change directory-structure
Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
Forwarded: not-needed
Last-Update: 2014-07-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/bin/gcstar
===================================================================
--- trunk.orig/bin/gcstar 2012-01-24 05:13:14.000000000 +0100
+++ trunk/bin/gcstar 2014-07-06 12:49:07.395235464 +0200
@@ -44,9 +44,9 @@
use POSIX qw(locale_h);
$ENV{GCS_BIN_DIR} = $RealBin;
-($ENV{GCS_LIB_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/lib\/gcstar/;
+($ENV{GCS_LIB_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/share\/gcstar\/lib/;
($ENV{GCS_SHARE_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/share\/gcstar/;
-use lib File::Spec->canonpath("$RealBin/../lib/gcstar");
+use lib File::Spec->canonpath("$RealBin/../share/gcstar/lib");
if (exists $ENV{PAR_TEMP})
{
unshift @INC, "$RealBin/../lib/gcstar";
Index: trunk/install
===================================================================
--- trunk.orig/install 2011-07-17 14:22:58.000000000 +0200
+++ trunk/install 2014-07-06 12:53:49.517946204 +0200
@@ -255,9 +255,9 @@
chmod 0755, $baseDir.'/bin/'.$binName;
#Copying lib
- verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/lib/gcstar';
- recursiveCopy('lib/gcstar', $baseDir.'/lib/gcstar');
-
+ verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/gcstar/lib';
+ recursiveCopy('lib/gcstar', $baseDir.'/share/gcstar/lib');
+
#Copying share
verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/gcstar';
recursiveCopy('share/gcstar', $baseDir.'/share/gcstar');
|