[Libreoffice-commits] core.git: Branch 'aoo/trunk' - set_soenv.in
Don Lewis
truckman at apache.org
Sun Jan 7 21:12:50 UTC 2018
set_soenv.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit d364c5bb7211ec60fadf8e065b2a1ffa830493fa
Author: Don Lewis <truckman at apache.org>
Date: Sun Jan 7 19:51:56 2018 +0000
Use $CC_PATH (with the trailing slash removed) instead of $COMPATH
when setting $PATH. The latter has the trailing /bin removed from
the path to the compiler executable and results in /usr being
incorrectly added to $PATH.
Remove an older, FreeBSD-specific workaround.
diff --git a/set_soenv.in b/set_soenv.in
index b8e19203b58b..a68924f65467 100644
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -359,7 +359,7 @@ elsif ( $platform =~ m/kfreebsd/ )
elsif ( $platform =~ m/freebsd/ )
{ $BIG_SVX = "TRUE";
$COM = "@COM_IS@";
- $COMPATH = '@COMPATH@' . '/bin';
+ $COMPATH = '@COMPATH@';
$CVER = "C300";
$GUI = "UNX";
$GUIBASE = "unx";
@@ -1134,8 +1134,10 @@ if ($platform =~ m/linux|netbsd|odf1|freebsd|aix|solaris/)
} else {
@javaBits = ();
}
+ my $ccdir = "@CC_PATH@";
+ $ccdir =~ s/\/$//;
$PATH = GetCorrectPath ($PATH,
- $COMPATH, $CC,
+ $ccdir, $CC,
$PERL_PATH, 'perl',
@javaBits);
}
More information about the Libreoffice-commits
mailing list