summaryrefslogtreecommitdiff
path: root/editors/openoffice-3-devel
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-10-19 10:37:48 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-10-19 10:37:48 +0000
commitedfe461d306900a225f26f123e20cc5027979d21 (patch)
tree3eb0f33d5632b2607cbbb251975de31323ddfaa4 /editors/openoffice-3-devel
parentELSE IF -> ELIF (diff)
patch-set_soenv.1 is not used anymore. Configure does now substitute
set_soenv.in directly. Most of our changes have been merged, so this patch is really tiny now.
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r--editors/openoffice-3-devel/files/patch-config_office::set_soenv.in23
-rw-r--r--editors/openoffice-3-devel/files/patch-set_soenv.1242
2 files changed, 23 insertions, 242 deletions
diff --git a/editors/openoffice-3-devel/files/patch-config_office::set_soenv.in b/editors/openoffice-3-devel/files/patch-config_office::set_soenv.in
new file mode 100644
index 000000000000..4652de66bcfa
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-config_office::set_soenv.in
@@ -0,0 +1,23 @@
+--- set_soenv.in.orig Sat Oct 19 12:16:51 2002
++++ set_soenv.in Sat Oct 19 12:17:36 2002
+@@ -933,6 +933,9 @@
+ elsif ($platform eq "$FreeBSD")
+ { $LD_LIBRARY_PATH = $cur_dir.
+ $ps.'$SOLARENV'.$ds.'$INPATH'.$LIB.
++ $ps.$JRELIBDIR.
++ $ps.$JRETOOLKITDIR.
++ $ps.$JRETHREADDIR.
+ $ps.$par_dir.$LIB.
+ $ps_STLPORT_LIB.
+ $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB;
+@@ -1092,6 +1095,10 @@
+ $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
+ $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
+ $ps.'$SOLARENV'.$BIN;
++ if ( $JAVA_HOME ne "" )
++ {
++ $PATH .= $ps.'$JAVA_HOME'.$BIN;
++ }
+
+ $PATH .= $ps.$oldPATH;
+ }
diff --git a/editors/openoffice-3-devel/files/patch-set_soenv.1 b/editors/openoffice-3-devel/files/patch-set_soenv.1
deleted file mode 100644
index 6b8fb4da3973..000000000000
--- a/editors/openoffice-3-devel/files/patch-set_soenv.1
+++ /dev/null
@@ -1,242 +0,0 @@
---- set_soenv.1.orig Fri Aug 16 12:21:58 2002
-+++ set_soenv.1 Fri Oct 18 22:56:36 2002
-@@ -40,7 +40,7 @@
- #
- # Set this value equal to the corresponding amount of
- # command line arguments.
--my $numArgs = 20;
-+my $numArgs = 27;
- # Determining the amount of arguments in the call.
- my $numEnter = $#ARGV + 1;
- if ( $numEnter != $numArgs )
-@@ -66,14 +66,16 @@
- my ( $CALL_CDECL, $COMMON_OUTDIR, $NO_SRS_PATCH, $PROFULLSWITCH, $BIG_GOODIES, $BMP_WRITES_FLAG,
- $common_build, $MK_UNROLL, $NO_REC_RES, $PROEXT, $SO3, $SOLAR_JAVA,
- $SOLAR_PLUGIN, $TF_PACKAGES, $TF_SDBAPI, $TF_FILEURL, $UPDATER, $BUILD_DELIVER, $USE_NEWCHARSET, $USE_NEW_RSC, $VCL,
-- $TF_CFGDATA, $TF_SVDATA,
-+ $TF_CFGDATA, $TF_SVDATA, $CC, $CXX,
- $USE_NAMESPACE, $BUILD_SOSL, $LOCAL_SOLENV, $ENABLEUNICODE, $NEW_JAR_PACK, $NO_BSYMBOLIC,
- $USE_XPRINT, $BUILD_SOSL_RELEASE, $RSC_ONCE );
- #
- # Platform dependent constant values.
- my ( $BIG_SVX, $COM, $CPU, $CPUNAME, $CVER, $DLLSUFFIX, $GLIBC, $GUI, $GUIBASE, $GUIENV,
- $GVER, $GVERDIR, $OS, $OUTPATH, $INPATH, $PATH_SEPERATOR, $PROSWITCH, $XPVERSION, $BOTH,
-- $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx, $JRELIBDIR, $JRETOOLKITDIR, $JRETHREADDIR );
-+ $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx, $JRELIBDIR,
-+ $JRETOOLKITDIR, $JRETHREADDIR, $PTHREAD_CFLAGS, $PTHREAD_LIBS, $EXCEPTIONS);
-+
- #
- #-------------------------------------------
- # IIc. Declaring the environment variables.
-@@ -96,7 +98,7 @@
- $SOLARINC, $LOCALINI, $MAC_LIB, $PATHEXTRA, $FRAMEWORKSHOME, $COMEX, $MULTITHREAD_OBJ, $PERL,
- $COMP_ENV, $IENV, $ILIB, $WIN_INCLUDE, $JAVAHOME, $WIN_LIB, $WIN_HOME,
- $BISON_HAIRY, $BISON_SIMPLE, $TEMP, $COMMON_BUILD_TOOLS, $WIN_GREP, $WIN_FIND, $WIN_LS,
-- $WIN_GNUCOPY, $WIN_TOUCH, $STLPORT4, $USE_GCC3 );
-+ $WIN_GNUCOPY, $WIN_TOUCH, $STLPORT4, $USE_GCC3, $ENABLE_DEBUG);
- #
- #-------------------------------------------
- # IId. Declaring the aliases.
-@@ -145,7 +147,11 @@
- $STLPORT4 = $ARGV [ 12 ]; # Location of STLport4
- $MINGWIN32 = $ARGV [ 17 ]; # use MINGWIN32
- $USE_SHELL = $ARGV [ 18 ]; # preferred shell
--$USE_GCC3 = $ARGV [ 19 ]; # use gcc3 (only for unxlngi4 at the moment)
-+$USE_GCC3 = $ARGV [ 19 ]; # use gcc3 (only for unxlngi4 and unxfbsd5i at the moment)
-+$CC = $ARGV [ 23 ]; # get cc from environment
-+$CXX = $ARGV [ 24 ]; # use c++ from environment
-+$EXCEPTIONS = $ARGV [ 25 ]; # Exception handling type
-+$ENABLE_DEBUG = $ARGV [ 26 ]; # Enable a debug build
- #
- #---------------------------------------------------------------
- # IIIb. Initialising the variables for the system commands, etc.
-@@ -336,7 +342,14 @@
- $COMPATH = $ARGV[ 0 ];
- $CPU = "I";
- $CPUNAME = "INTEL";
-+if ($USE_GCC3 eq "TRUE")
-+ {
-+ $CVER = "C300";
-+ }
-+else
-+ {
- $CVER = "C295";
-+}
- $DLLSUFFIX = "fi";
- $GUI = "UNX";
- $GUIBASE = "unx";
-@@ -349,6 +362,9 @@
- $PATH_SEPERATOR = $ps;
- $PROSWITCH = "-DPRODUCT";
- $XPVERSION = "3";
-+ $OSVERSION = $ARGV[ 20 ];
-+ $PTHREAD_CFLAGS = $ARGV[ 21 ];
-+ $PTHREAD_LIBS = $ARGV[ 22 ];
- $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386";
- $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."client";
- $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."green_threads";
-@@ -934,7 +950,7 @@
- $ps.$JRETHREADDIR.
- $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB;
- }
--elsif (($platform eq "$Linux") || ($platform eq "$FreeBSD") || ($platform eq "$NetBSD") || ($platform eq "$Tru64"))
-+elsif (($platform eq "$Linux") || ($platform eq "$NetBSD") || ($platform eq "$Tru64"))
- { $LD_LIBRARY_PATH = $cur_dir.
- $ps.'$SOLARENV'.$ds.'$INPATH'.$LIB.
- $ps.$JRELIBDIR.
-@@ -945,6 +961,13 @@
- $ps_STLPORT_LIB.
- $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB;
- }
-+elsif ($platform eq "$FreeBSD")
-+{ $LD_LIBRARY_PATH = $cur_dir.
-+ $ps.'$SOLARENV'.$ds.'$INPATH'.$LIB.
-+ $ps.$par_dir.$LIB.
-+ $ps_STLPORT_LIB.
-+ $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB;
-+}
- elsif ($platform eq "$Irix" || $platform eq "$Irix64")
- { $LD_LIBRARY_PATH = $cur_dir.
- $ps.'$SOLARENV'.$ds.'$INPATH'.$LIB.
-@@ -986,15 +1009,16 @@
- $D.$COM.
- $D.$CVER.
- $D.$GVER.
-- $D."_PTHREADS".
- $D.$OS.
- $D.$CPUNAME;
- if ($platform eq "$FreeBSD")
--{ $SOLARDEF .= $D."X86";
-+{ $SOLARDEF .= $D."X86".
-+ $D."OSVERSION=$OSVERSION".
-+ " ".$PTHREAD_CFLAGS;
- }
- $SOLARDEF .= $D."_REENTRANT".
- $D."_POSIX_PTHREAD_SEMANTICS";
--if (($platform ne "$Tru64") && ( $platform ne "$Irix") && ( $platform ne "$Irix64"))
-+if (($platform ne "$Tru64") && ( $platform ne "$Irix") && ( $platform ne "$Irix64") && ( $platform ne "FreeBSD" ) && ( $platform ne "NetBSD" ))
- { $SOLARDEF .= $D."GLIBC=".$GLIBC;
- }
- $SOLARDEF .= $D."SUPD=$UPD".
-@@ -1011,7 +1035,7 @@
- $L.$USR_DT.$LIB.
- $L.$USR_OPENWIN.$LIB.'"';
- }
--elsif (($platform eq "$Linux") || ($platform eq "$FreeBSD") || ($platform eq "$NetBSD") || ($platform eq "$Tru64") || ($platform eq "$Irix") || ($platform eq "$Irix64"))
-+elsif (($platform eq "$Linux") || ($platform eq "$NetBSD") || ($platform eq "$Tru64") || ($platform eq "$Irix") || ($platform eq "$Irix64"))
- { $SOLAREXTRALIB = '"'.$L.$par_dir.$LIB.
- $L.$LIB.
- $L.$USR.$LIB.
-@@ -1021,6 +1045,11 @@
- { $SOLAREXTRALIB = '"'.$L.$LIB.
- $L.$USR.$LIB.'"';
- }
-+elsif ($platform eq "$FreeBSD")
-+{
-+ $SOLAREXTRALIB = '"'.$L.$par_dir.$LIB.'"';
-+}
-+
- # Compiler include search directory paths.
- if (($platform eq "$Solaris") || ($platform eq "$Linux") || ($platform eq "$FreeBSD") || ($platform eq "$NetBSD") || ($platform eq "$Tru64") || ($platform eq "$Irix") || ($platform eq "$Irix64"))
- { $SOLARINCLUDES = '"'.$I.'$SOLARENV'.$INC.'"';
-@@ -1099,7 +1128,7 @@
- $ps.$USR.$LIB.
- $ps.$USR_LOCAL.$BIN;
- }
--elsif (($platform eq "$Linux") or ($platform eq "$FreeBSD") or ($platform eq "$NetBSD") or ($platform eq "$Tru64") or ($platform eq "$Irix") or ($platform eq "$Irix64"))
-+elsif (($platform eq "$Linux") or ($platform eq "$NetBSD") or ($platform eq "$Tru64") or ($platform eq "$Irix") or ($platform eq "$Irix64"))
- { $PATH = $cur_dir.
- $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
- $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
-@@ -1118,6 +1147,22 @@
- $ps.$USR.$ds."X11".$BIN.
- $ps.$USR.$LIB;
- }
-+elsif ($platform eq "$FreeBSD")
-+{ $PATH = $cur_dir.
-+ $ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
-+ $ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
-+ $ps.'$SOLARENV'.$BIN.
-+ $ps.'$JAVA_HOME'.$BIN.
-+ $ps.$USR_LOCAL.$BIN.
-+ $ps.$USR_LOCAL.$ds."sbin";
-+
-+ $PATH .= GetCorrectPath($COMPATH, $PERL_PATH, $TCSH_PATH, $compiler);
-+
-+ $PATH .= $ps.$USR.$ds."sbin".
-+ $ps.$USR.$ds."X11R6".$ds."bin".
-+ $ps.$USR.$LIB;
-+}
-+
- elsif ($platform eq "$Winnt")
- {
- my ( $noldPATH );
-@@ -1227,7 +1272,7 @@
- $L_STLPORT_LIB.
- $L.$XLIB.'"';
- }
--elsif (($platform eq "$Linux") || ($platform eq "$FreeBSD") || ($platform eq "$NetBSD") || ($platform eq "$Tru64") || ($platform eq "$Irix") || ($platform eq "$Irix64"))
-+elsif (($platform eq "$Linux") || ($platform eq "$NetBSD") || ($platform eq "$Tru64") || ($platform eq "$Irix") || ($platform eq "$Irix64"))
- { $SOLARLIB = '"'.$L.$par_dir.$LIB.
- $L.'$SOLARENV'.$ds.'$OUTPATH'.$LIB.
- $L.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB.
-@@ -1242,6 +1287,15 @@
- $L_STLPORT_LIB.
- $L.$XLIB.'"';
- }
-+elsif ($platform eq "$FreeBSD")
-+{ $SOLARLIB = '"'.$L.$par_dir.$LIB.
-+ $L.'$SOLARENV'.$ds.'$OUTPATH'.$LIB.
-+ $L.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB.
-+ $L.'$SOLARENV'.$ds.'$OUTPATH'.$LIB.
-+ $L.'$JAVA_HOME'.$LIB.
-+ $L_STLPORT_LIB.
-+ $L.$XLIB.'"';
-+}
- elsif ($platform eq "$Winnt")
- { $SOLARLIB = '"'.$L.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$LIB.
- $L.$par_dir.$LIB.
-@@ -1280,7 +1334,7 @@
- $SOLARINC .= $I.$USR.$INCLUDE;
- }
- $SOLARINC .= $STLPORT_stlport;
--if ($platform eq "$Linux")
-+if ($platform eq "$Linux" || $platform eq "$FreeBSD")
- {
- # This simply adds an include path, so even cases that break the FHS work
- $SOLARINC .= $STLPORT_inc_stlport;
-@@ -1294,11 +1348,6 @@
- { $SOLARINC .= $I.'$COMPATH'.$ds."include";
- }
-
--if ($platform eq "$Linux")
--{
--# This simply adds an include path, so even cases that break the FHS work
--$SOLARINC .= $STLPORT_inc_stlport;
--}
- $SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
- $I.'$JAVA_HOME'.$INCLUDE;
-
-@@ -1501,6 +1550,12 @@
- ToFile( "GUIENV", $GUIENV, "e" );
- ToFile( "GVER", $GVER, "e" );
- ToFile( "OS", $OS, "e" );
-+ToFile( "CC", $CC, "e" );
-+ToFile( "CXX", $CXX, "e" );
-+ToFile( "EXCEPTIONS", $EXCEPTIONS, "e" );
-+ToFile( "OSVERSION", $OSVERSION, "e" );
-+ToFile( "PTHREAD_CFLAGS", $PTHREAD_CFLAGS, "e" );
-+ToFile( "PTHREAD_LIBS", $PTHREAD_LIBS, "e" );
- ToFile( "OUTPATH", $OUTPATH, "e" );
- ToFile( "INPATH", $INPATH, "e" );
- ToFile( "GVERDIR", $GVERDIR, "e" );
-@@ -1515,6 +1570,9 @@
- ToFile( "SET_EXCEPTIONS", $SET_EXCEPTIONS, "e" );
- ToFile( "emergency", $emergency, "e" );
- ToFile( "use_shl_versions", $use_shl_versions, "e" );
-+if ($ENABLE_DEBUG eq "TRUE") {
-+ToFile( "debug", "true", "e" );
-+}
- #
- # Writing the variables to file.
- # (c = comment, e = environment variable, a = alias, n = newline )