aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2-devel
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-06-03 05:43:03 +0800
committermbr <mbr@FreeBSD.org>2002-06-03 05:43:03 +0800
commit4fdf204936d0504818daf62f65764614326509f8 (patch)
tree47687a5e1184104141d872a6df297989cbd0e113 /editors/openoffice.org-2-devel
parent56326b87ef43e6d7c5b00fb22745ad139980f98c (diff)
downloadfreebsd-ports-gnome-4fdf204936d0504818daf62f65764614326509f8.tar.gz
freebsd-ports-gnome-4fdf204936d0504818daf62f65764614326509f8.tar.zst
freebsd-ports-gnome-4fdf204936d0504818daf62f65764614326509f8.zip
For now, do not add libstd++ lib to the package. A libgcc_s.so is missing
on CURRENT. I'll investigate here what's wrong.
Diffstat (limited to 'editors/openoffice.org-2-devel')
-rw-r--r--editors/openoffice.org-2-devel/files/patch-product+inc+scp+udk_basefiles.scp48
-rw-r--r--editors/openoffice.org-2-devel/files/patch-product+util+makefile.mk85
2 files changed, 106 insertions, 27 deletions
diff --git a/editors/openoffice.org-2-devel/files/patch-product+inc+scp+udk_basefiles.scp b/editors/openoffice.org-2-devel/files/patch-product+inc+scp+udk_basefiles.scp
new file mode 100644
index 000000000000..53ba0a1f9f7b
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-product+inc+scp+udk_basefiles.scp
@@ -0,0 +1,48 @@
+--- ../product/inc/scp/udk_basefiles.scp.orig Sun Jun 2 22:58:19 2002
++++ ../product/inc/scp/udk_basefiles.scp Sun Jun 2 23:28:10 2002
+@@ -2,7 +2,9 @@
+
+ // Temporary solution/hack: at the moment libstdc++.so and libgcc_s.so are needed for unxlngi4 environment
+ // (setup is linked against it).
+-#if ( defined( _gcc3 ) && defined( C300 ) )
++#if ( defined ( LINUX ))
++#if ( defined( _gcc3 ) && defined( C300 ))
++
+ File gid_File_Lib_gcc
+ BIN_FILE_BODY;
+ Name = STRING(libgcc_s.so.1);
+@@ -10,6 +12,24 @@
+ Styles = (PACKED, SETUPZIP);
+ End
+
++#if ( CCNUMVER >= 000300010000 )
++
++File gid_File_Lib_Stdc
++ BIN_FILE_BODY;
++ Name = STRING(libstdc++.so.4.0.0);
++ Dir = GCFG_BINARY_DIR;
++ Styles = (PACKED, SETUPZIP);
++End
++
++Shortcut gid_Shortcut_Lib_Stdc
++ FileID = gid_File_Lib_Stdc;
++ Dir = GCFG_BINARY_DIR;
++ Name = STRING(libstdc++.so.4);
++ Styles = (NETWORK,RELATIVE);
++End
++
++#else
++
+ File gid_File_Lib_Stdc
+ BIN_FILE_BODY;
+ Name = STRING(libstdc++.so.3.0.1);
+@@ -23,6 +43,9 @@
+ Name = STRING(libstdc++.so.3);
+ Styles = (NETWORK,RELATIVE);
+ End
++
++#endif
++#endif
+ #endif
+
+ File gid_File_Lib_Sal
diff --git a/editors/openoffice.org-2-devel/files/patch-product+util+makefile.mk b/editors/openoffice.org-2-devel/files/patch-product+util+makefile.mk
index fb3c8af3e2b2..2dc8e918f479 100644
--- a/editors/openoffice.org-2-devel/files/patch-product+util+makefile.mk
+++ b/editors/openoffice.org-2-devel/files/patch-product+util+makefile.mk
@@ -1,36 +1,67 @@
---- ../product/util/makefile.mk.orig Mon Mar 11 17:09:13 2002
-+++ ../product/util/makefile.mk Wed Apr 3 00:40:40 2002
-@@ -157,6 +157,15 @@
- STLPORTLIBNAME=stlport_vc6.dll
+--- ../product/util/makefile.mk.orig Sun Jun 2 22:47:14 2002
++++ ../product/util/makefile.mk Sun Jun 2 23:32:44 2002
+@@ -108,12 +108,20 @@
+ STLPORTLIBNAME=libstlport_gcc.so
+ BINDINGDLL=$(COMNAME)_uno
+ .IF "$(COMID)"=="gcc3"
++.IF "$(CCNUMVER)">="000300010000"
++ADDITIONAL_DLLS= \
++ $(DESTDIRDLL)$/libgcc_s.so.1 \
++ $(DESTDIRDLL)$/libgcc_s.so \
++ $(DESTDIRDLL)$/libstdc++.so.4 \
++ $(DESTDIRDLL)$/libstdc++.so.4.0.0
++.ELSE
ADDITIONAL_DLLS= \
- $(DESTDIRDLL)$/w9xucwrp.dll
-+.ELIF "$(OS)"=="FREEBSD"
-+###########
-+# FREEBSD
-+###########
-+DESTDIRBIN=$(DESTDIR)$/freebsd$/bin
-+DESTDIRLIB=$(DESTDIR)$/freebsd$/lib
-+DESTDIRDLL=$(DESTDIRLIB)
-+STLPORTLIBNAME=libstlport_gcc.so
-+BINDINGDLL=gcc2_uno
+ $(DESTDIRDLL)$/libgcc_s.so.1 \
+ $(DESTDIRDLL)$/libgcc_s.so \
+ $(DESTDIRDLL)$/libstdc++.so.3 \
+ $(DESTDIRDLL)$/libstdc++.so.3.0.1
.ENDIF
++.ENDIF
+ .ELIF "$(OS)"=="FREEBSD"
+ ###########
+ # FREEBSD
+@@ -123,13 +131,6 @@
+ DESTDIRDLL=$(DESTDIRLIB)
+ STLPORTLIBNAME=libstlport_gcc.so
+ BINDINGDLL=$(COMNAME)_uno
+-.IF "$(COMID)"=="gcc3"
+-ADDITIONAL_DLLS= \
+- $(DESTDIRDLL)$/libgcc_s.so.1 \
+- $(DESTDIRDLL)$/libgcc_s.so \
+- $(DESTDIRDLL)$/libstdc++.so.3 \
+- $(DESTDIRDLL)$/libstdc++.so.3.0.1
+-.ENDIF
+ .ELIF "$(OS)"=="NETBSD"
+ ###########
+ # NETBSD
+@@ -447,6 +448,20 @@
- STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
-@@ -428,7 +437,7 @@
-
- $(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
- -rm -f $@
-- +ln -s libstdc++.so.3.0.1 $@
-+ +ln -fs libstdc++.so.3.0.1 $@
-
- $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
+ #---------------------------------------------------------
+ # special targets for linux gcc3
++
++.IF "$(OS)"=="LINUX"
++.IF "$(CCNUMVER)">="000300010000"
++
++$(DESTDIRDLL)$/libstdc++.so.4.0.0 : $(DLLOUT)$/libstdc++.so.4.0.0 $(DIRLIST)
++ -rm -f $@
++ $(GNUCOPY) -p $(DLLOUT)$/libstdc++.so.4.0.0 $@
++
++$(DESTDIRDLL)$/libstdc++.so.4 : $(DESTDIRDLL)$/libstdc++.so.4.0.0 $(DIRLIST)
++ -rm -f $@
++ +ln -fs libstdc++.so.4.0.0 $@
++
++.ELSE
++
+ $(DESTDIRDLL)$/libstdc++.so.3.0.1 : $(DLLOUT)$/libstdc++.so.3.0.1 $(DIRLIST)
-rm -f $@
-@@ -436,7 +445,7 @@
-
+ $(GNUCOPY) -p $(DLLOUT)$/libstdc++.so.3.0.1 $@
+@@ -462,6 +477,8 @@
$(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
-rm -f $@
-- +ln -s libgcc_s.so.1 $@
-+ +ln -fs libgcc_s.so.1 $@
+ +ln -fs libgcc_s.so.1 $@
++.ENDIF
++.ENDIF
#-------------------------------------------------------------
$(DESTDIRJAR)$/%.jar : $(BINOUT)$/%.jar $(DIRLIST)