summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-devel/files/patch-odk+configure.pl
blob: a608473de01ccba16f4529878f91d26d5f4fc307 (plain) (blame)
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
Issutracker : #i41144#
CWS         : N/A
Author      : NAKATA Maho <maho@openoffice.org> (JCA)
Description : canonical name by config.guess for FreeBSD is
% ./config.guess
i386-unknown-freebsd5.3
so, $main::operatingSystem is
% ./config.guess | cut -d"-" -f3,4
freebsd5.3
then, if ( $main::operatingSystem eq "FreeBSD" ) is not correct,
and if ( $main::operatingSystem =~ /freebsd/ ) is correct

Index: odk/configure.pl
===================================================================
RCS file: /cvs/api/odk/configure.pl,v
retrieving revision 1.11
diff -u -r1.11 configure.pl
--- odk/configure.pl	29 Mar 2005 12:03:00 -0000	1.11
+++ odk/configure.pl	15 May 2005 08:46:20 -0000
@@ -45,7 +45,7 @@
 
 $main::OO_SDK_MAKE_HOME = "";
 $main::makeName = "make";
-if ( $main::operatingSystem eq "FreeBSD" )
+if ( $main::operatingSystem =~ /freebsd/ )
 {
     $main::makeName = "gmake";
 }