summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-devel
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2008-01-07 23:06:48 +0000
committerMaho Nakata <maho@FreeBSD.org>2008-01-07 23:06:48 +0000
commit1d931158b0e0d13108781d36e383b3e5c78f5664 (patch)
treeb733bcb2c1f14dc9ed087656212d02498ea7b27e /editors/openoffice.org-2-devel
parentUpgrade to 0.17.1. (diff)
Include libstdc++ and libgcc_s in the
install set, and bump port revision accordingly. PR: 119314 Submitted by: Pavevl <legioner.r@gmail.com>
Notes
Notes: svn path=/head/; revision=205216
Diffstat (limited to 'editors/openoffice.org-2-devel')
-rw-r--r--editors/openoffice.org-2-devel/Makefile5
-rw-r--r--editors/openoffice.org-2-devel/files/patch-i8502769
2 files changed, 74 insertions, 0 deletions
diff --git a/editors/openoffice.org-2-devel/Makefile b/editors/openoffice.org-2-devel/Makefile
index e68de6dc8537..26150fc00034 100644
--- a/editors/openoffice.org-2-devel/Makefile
+++ b/editors/openoffice.org-2-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME?= openoffice.org
PORTVERSION?= 2.4.${SNAPDATE}
+PORTREVISION= 1
CATEGORIES+= editors java
MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
http://openoffice.lunarshells.com/sources/ \
@@ -101,6 +102,10 @@ PKGNAMESUFFIX= -${LANG_SUFFIX}
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_GCC= 4.2
+#following part should sync with ports/Mk/bsd.gcc.mk
+.if (${OSVERSION} >= 700042)
+CONFIGURE_ARGS+= --with-system-stdlibs
+.endif
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
CCACHE_PREFIX= ccache
diff --git a/editors/openoffice.org-2-devel/files/patch-i85027 b/editors/openoffice.org-2-devel/files/patch-i85027
new file mode 100644
index 000000000000..7afbd7d17349
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-i85027
@@ -0,0 +1,69 @@
+Index: scp2/source/ooo/file_library_ooo.scp
+===================================================================
+RCS file: /cvs/installation/scp2/source/ooo/file_library_ooo.scp,v
+retrieving revision 1.269
+diff -u -r1.269 file_library_ooo.scp
+--- scp2/source/ooo/file_library_ooo.scp 12 Dec 2007 13:29:11 -0000 1.269
++++ scp2/source/ooo/file_library_ooo.scp 6 Jan 2008 04:19:50 -0000
+@@ -979,7 +979,7 @@
+
+ STD_UNO_LIB_FILE_PATCH( gid_File_Lib_Fwm , fwm)
+
+-#if ! (defined (FREEBSD) || defined (NETBSD) || defined(MACOSX) || defined(SYSTEM_STDLIBS) || defined(WNT))
++#if ! (defined (NETBSD) || defined(MACOSX) || defined(SYSTEM_STDLIBS) || defined(WNT))
+ #if defined( _gcc3 )
+
+ File gid_File_Lib_Gcc
+@@ -993,7 +993,7 @@
+
+ #endif
+
+-#if ! (defined (FREEBSD) || defined (NETBSD) || defined(MACOSX) || defined(SYSTEM_STDLIBS) || defined(WNT))
++#if ! (defined (NETBSD) || defined(MACOSX) || defined(SYSTEM_STDLIBS) || defined(WNT))
+ #if defined( _gcc3 )
+
+ File gid_File_Lib_Stdc
+
+
+-----------------
+Strange behaviour of stock gcc of FreeBSD 7.
+
+# gcc -print-file-name=libgcc_s.so
+/usr/lib/libgcc_s.so
+# gcc -print-file-name=libgcc_s.so.1
+libgcc_s.so.1
+. This sould be
+# gcc -print-file-name=libgcc_s.so.1
+/lib/libgcc_s.so.1
+
+However gcc42 from ports behaves correctly;
+and
+# gcc42 -print-file-name=libgcc_s.so.1
+/usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3/../../../libgcc_s.so.1
+# gcc42 -print-file-name=libgcc_s.so
+/usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3/../../../libgcc_s.so
+.
+
+Index: work/OOH680_m1/external/gcc3_specific/makefile.mk
+===================================================================
+RCS file: /cvs/util/external/gcc3_specific/makefile.mk,v
+retrieving revision 1.5
+diff -u -r1.5 makefile.mk
+--- external/gcc3_specific/makefile.mk 30 Aug 2006 12:39:00 -0000 1.5
++++ external/gcc3_specific/makefile.mk 6 Jan 2008 08:10:19 -0000
+@@ -12,7 +12,6 @@
+
+ .IF "$(OS)"!="MACOSX"
+ .IF "$(OS)"!="IRIX"
+-.IF "$(OS)"!="FREEBSD"
+
+ .EXPORT : CC
+
+@@ -25,7 +24,6 @@
+ $(LB)$/libgcc_s.so.1 :
+ $(GCCINSTLIB) libgcc_s.so.1 $(LB)
+
+-.ENDIF
+ .ENDIF
+ .ENDIF
+