Build fix on i386.
Funded by: OpenOffice.org community.
This commit is contained in:
parent
1a29d3519a
commit
b7cb059964
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247535
@ -67,9 +67,9 @@ JAVA_VERSION= 1.4 1.5 1.6
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
FREEBSD_ENV_SET= FreeBSDAMDEnv.Set
|
||||
FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh
|
||||
.else
|
||||
FREEBSD_ENV_SET= FreeBSDX86Env.Set
|
||||
FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh
|
||||
.endif
|
||||
|
||||
MILESTONE?= 68
|
||||
@ -126,8 +126,8 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
|
||||
|
||||
USE_BISON= build
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC?= ${WRKDIR}/${OOOTAG}
|
||||
TCSH?= /bin/tcsh
|
||||
WRKSRC?= ${WRKDIR}/${OOOTAG}
|
||||
BASH?= ${PREFIX}/bin/bash
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.if defined(DISABLE_MAKE_JOBS)
|
||||
@ -146,6 +146,7 @@ CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \
|
||||
--enable-pdfimport \
|
||||
--enable-wiki-publisher \
|
||||
--enable-report-builder \
|
||||
--with-use-shell=bash \
|
||||
--with-vendor="FreeBSD ports system"
|
||||
|
||||
OOOEXTENSIONS+= minimizer/sun-presentation-minimizer.oxt
|
||||
@ -205,7 +206,7 @@ pre-build:
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} ; ./bootstrap
|
||||
@cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; setenv TMPDIR ${WRKSRC} ; cd instsetoo_native ; build.pl --checkmodules ; build.pl -P${MAKE_JOBS_NUMBER} --all --html --dontgraboutput"
|
||||
@cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${BASH} -c "source ${FREEBSD_ENV_SET} ; cd instsetoo_native ; build.pl --checkmodules ; build.pl -P${MAKE_JOBS_NUMBER} --all --html --dontgraboutput"
|
||||
|
||||
.if ${LOCALIZED_LANG} == "alllangs"
|
||||
@${MAKE} languagepack
|
||||
|
@ -48,9 +48,9 @@ solver:
|
||||
languagepack:
|
||||
@${ECHO_MSG} "===> Make languagepack of OpenOffice.org"
|
||||
.if defined (ALL_LOCALIZED_LANGS)
|
||||
@cd ${WRKSRC} ; ${TCSH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack'
|
||||
@cd ${WRKSRC} ; ${BASH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack'
|
||||
.else
|
||||
@cd ${WRKSRC} ; ${TCSH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack_${LOCALIZED_LANG}'
|
||||
@cd ${WRKSRC} ; ${BASH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack_${LOCALIZED_LANG}'
|
||||
.endif
|
||||
|
||||
.if !defined (ALL_LOCALIZED_LANGS)
|
||||
|
13
editors/openoffice-3-devel/files/patch-i108197
Normal file
13
editors/openoffice-3-devel/files/patch-i108197
Normal file
@ -0,0 +1,13 @@
|
||||
--- testtools/source/bridgetest/makefile.mk 2010-01-10 19:40:41.000000000 +0900
|
||||
+++ testtools/source/bridgetest/makefile.mk 2010-01-10 19:49:30.000000000 +0900
|
||||
@@ -143,8 +143,8 @@
|
||||
#################################################################
|
||||
|
||||
runtest : $(DLLDEST)$/uno_types.rdb $(DLLDEST)$/uno_services.rdb makefile.mk
|
||||
-.IF "$(COM)$(OS)$(CPU)" == "GCCMACOSXP"
|
||||
- @echo "Mac OSX PPC GCC fails this test!, likely broken UNO bridge. Fix me."
|
||||
+.IF "$(COM)$(OS)$(CPU)" == "GCCMACOSXP" || "$(COM)$(OS)$(CPU)" == "GCCFREEBSDI"
|
||||
+ @echo "Mac OSX PPC GCC ad FreeBDS/i386 fails this test! likely broken UNO bridge. Fix me."
|
||||
.ELSE
|
||||
cd $(DLLDEST) && $(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/uno \
|
||||
-ro uno_services.rdb -ro uno_types.rdb \
|
@ -67,9 +67,9 @@ JAVA_VERSION= 1.4 1.5 1.6
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
FREEBSD_ENV_SET= FreeBSDAMDEnv.Set
|
||||
FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh
|
||||
.else
|
||||
FREEBSD_ENV_SET= FreeBSDX86Env.Set
|
||||
FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh
|
||||
.endif
|
||||
|
||||
MILESTONE?= 68
|
||||
@ -126,8 +126,8 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
|
||||
|
||||
USE_BISON= build
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC?= ${WRKDIR}/${OOOTAG}
|
||||
TCSH?= /bin/tcsh
|
||||
WRKSRC?= ${WRKDIR}/${OOOTAG}
|
||||
BASH?= ${PREFIX}/bin/bash
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.if defined(DISABLE_MAKE_JOBS)
|
||||
@ -146,6 +146,7 @@ CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \
|
||||
--enable-pdfimport \
|
||||
--enable-wiki-publisher \
|
||||
--enable-report-builder \
|
||||
--with-use-shell=bash \
|
||||
--with-vendor="FreeBSD ports system"
|
||||
|
||||
OOOEXTENSIONS+= minimizer/sun-presentation-minimizer.oxt
|
||||
@ -205,7 +206,7 @@ pre-build:
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} ; ./bootstrap
|
||||
@cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; setenv TMPDIR ${WRKSRC} ; cd instsetoo_native ; build.pl --checkmodules ; build.pl -P${MAKE_JOBS_NUMBER} --all --html --dontgraboutput"
|
||||
@cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${BASH} -c "source ${FREEBSD_ENV_SET} ; cd instsetoo_native ; build.pl --checkmodules ; build.pl -P${MAKE_JOBS_NUMBER} --all --html --dontgraboutput"
|
||||
|
||||
.if ${LOCALIZED_LANG} == "alllangs"
|
||||
@${MAKE} languagepack
|
||||
|
@ -48,9 +48,9 @@ solver:
|
||||
languagepack:
|
||||
@${ECHO_MSG} "===> Make languagepack of OpenOffice.org"
|
||||
.if defined (ALL_LOCALIZED_LANGS)
|
||||
@cd ${WRKSRC} ; ${TCSH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack'
|
||||
@cd ${WRKSRC} ; ${BASH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack'
|
||||
.else
|
||||
@cd ${WRKSRC} ; ${TCSH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack_${LOCALIZED_LANG}'
|
||||
@cd ${WRKSRC} ; ${BASH} -c 'source ${FREEBSD_ENV_SET} ; cd instsetoo_native/util ; dmake ooolanguagepack_${LOCALIZED_LANG}'
|
||||
.endif
|
||||
|
||||
.if !defined (ALL_LOCALIZED_LANGS)
|
||||
|
13
editors/openoffice.org-3-devel/files/patch-i108197
Normal file
13
editors/openoffice.org-3-devel/files/patch-i108197
Normal file
@ -0,0 +1,13 @@
|
||||
--- testtools/source/bridgetest/makefile.mk 2010-01-10 19:40:41.000000000 +0900
|
||||
+++ testtools/source/bridgetest/makefile.mk 2010-01-10 19:49:30.000000000 +0900
|
||||
@@ -143,8 +143,8 @@
|
||||
#################################################################
|
||||
|
||||
runtest : $(DLLDEST)$/uno_types.rdb $(DLLDEST)$/uno_services.rdb makefile.mk
|
||||
-.IF "$(COM)$(OS)$(CPU)" == "GCCMACOSXP"
|
||||
- @echo "Mac OSX PPC GCC fails this test!, likely broken UNO bridge. Fix me."
|
||||
+.IF "$(COM)$(OS)$(CPU)" == "GCCMACOSXP" || "$(COM)$(OS)$(CPU)" == "GCCFREEBSDI"
|
||||
+ @echo "Mac OSX PPC GCC ad FreeBDS/i386 fails this test! likely broken UNO bridge. Fix me."
|
||||
.ELSE
|
||||
cd $(DLLDEST) && $(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/uno \
|
||||
-ro uno_services.rdb -ro uno_types.rdb \
|
Loading…
Reference in New Issue
Block a user