diff options
author | mbr <mbr@FreeBSD.org> | 2002-08-16 15:37:14 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-08-16 15:37:14 +0000 |
commit | 882d666c753def75a3e0f8137666ca59f0afd5c2 (patch) | |
tree | 47f70a10cf6ab8baa1ea839c27806b9596fef198 /editors | |
parent | 7733b0e13c79f7ddfa7fd3bd520234813ac906a8 (diff) | |
download | FreeBSD-ports-882d666c753def75a3e0f8137666ca59f0afd5c2.zip FreeBSD-ports-882d666c753def75a3e0f8137666ca59f0afd5c2.tar.gz |
Build mozilla inside OpenOffice.org. We cannot use a installed mozilla installation
because of linking issues. C++ ABI changes are hard to detect. So we use a copy
of our mozilla port and execute thereafter zipmoz.sh to build the archives needed
by OpenOffice.org build.
We have now the first fully automated package build available for OpenOffice.org :-)
Remove about 10 versions of MOZDIST I built. It would have been necessary to build
at least 4 additional versions to support gcc3.2 as compiler.
Fix some warnings reported by portlint at the same time.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/openoffice-1.0/Makefile | 78 | ||||
-rw-r--r-- | editors/openoffice.org-1.0/Makefile | 78 | ||||
-rw-r--r-- | editors/openoffice/Makefile | 78 |
3 files changed, 141 insertions, 93 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile index d899929..aa78538 100644 --- a/editors/openoffice-1.0/Makefile +++ b/editors/openoffice-1.0/Makefile @@ -13,8 +13,7 @@ MASTER_SITES+= http://sf1.mirror.openoffice.org/${PORTVERSION}/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ http://people.freebsd.org/~mbr/distfiles/ \ http://dict.progbits.com/ -DISTFILES+= OOo_${PORTVERSION}_source.tar.bz2 gpc231.tar.Z \ - oo_moz_1.0_includes.tgz ${MOZILLADIST} +DISTFILES+= OOo_${PORTVERSION}_source.tar.bz2 gpc231.tar.Z SORT?= /usr/bin/sort CUT?= /usr/bin/cut @@ -24,32 +23,37 @@ CUT?= /usr/bin/cut INSTALLATION_BASEDIR= OpenOffice.org1.0 DIST_SUBDIR= openoffice DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ + # # configuration for language specific slave ports # .if !defined(LANG_EXT) LANG_EXT=01 +.else +# +# Add pkg-comment and pkg-descr if available +# +.if exists(${.CURDIR}/pkg-comment) +COMMENT= ${.CURDIR}/pkg-comment .endif +.if exists(${.CURDIR}/pkg-descr) +DESCR= ${.CURDIR}/pkg-descr +.endif +# +# Set prefix and suffix +# .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif - +.endif # if defined(LANG_PKGNAME) # # LANG_CONFIGURE_ARG is missing for the german port # .if defined(LANG_EXT) && ${LANG_EXT}!=49 CONFIGURE_ARGS+= --with-lang=${LANG_CONFIGURE_ARG},ENUS .endif - -.if exists(${.CURDIR}/pkg-comment) -COMMENT= ${.CURDIR}/pkg-comment -.endif - -.if exists(${.CURDIR}/pkg-descr) -DESCR= ${.CURDIR}/pkg-descr -.endif .endif .if ${OSVERSION} < 500000 @@ -75,21 +79,6 @@ BUILD_DEPENDS+= gcc31:${PORTSDIR}/lang/gcc31 CC= gcc31 CXX= g++31 .endif -.if defined(USE_GCC) && ${USE_GCC} == 2.95 -MOZILLADIST= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc2.95-ports.tar.gz -.else -MOZILLADIST= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc3.1-system.tar.gz -.endif -.else -.if defined(USE_GCC) && ${USE_GCC} == 3.1 -.if defined(WITH_DEBUG) && ${WITH_DEBUG} == 2 -MOZILLADIST= oo_moz_1.0_i386_FreeBSD-4-gcc3.1-debug-ports.tar.gz -.else -MOZILLADIST= oo_moz_1.0_i386_FreeBSD-4-gcc3.1-ports.tar.gz -.endif -.else -MOZILLADIST= oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc2.95-system.tar.gz -.endif .endif EXTRACT_ONLY= OOo_${PORTVERSION}_source.tar.bz2 @@ -114,7 +103,7 @@ USE_GMAKE= yes EXTRACT_BEFORE_ARGS_R= -dc EXTRACT_AFTER_ARGS_R= | ${TAR} -xf - EXTRACT_CMD_R= ${GZIP_CMD} -EXTRACT_REST= gpc231.tar.Z ${MOZILLADIST} oo_moz_1.0_includes.tgz +EXTRACT_REST= gpc231.tar.Z JDK13DIR?= ${LOCALBASE}/jdk1.3.1 JAVAVM= ${JDK13DIR}/bin/java @@ -125,6 +114,7 @@ WRKSRC= ${WRKDIR}/oo_1.0.1_src/config_office LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/641/unxfbsd.pro/lib/ .if defined(WITH_DEBUG) +CFLAGS+= -g .if ${WITH_DEBUG} == 2 DMAKE= dmake debug="true" .else @@ -225,7 +215,7 @@ pre-fetch: @${ECHO} "datasize to build. Check your limit" @${ECHO} "settings and and put this in /boot/loader.conf" @${ECHO} "if neccessary:" - @${ECHO} + @${ECHO} @${ECHO} "kern.maxdsiz=\"1073741824\"" @${ECHO} "kern.maxssiz=\"268435456\"" .endif @@ -278,9 +268,6 @@ post-extract: done @${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/ @${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/ - @${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/ - @${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/ - @${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/ post-patch: .if defined(WITH_TTF_BYTECODE_ENABLED) @@ -323,7 +310,36 @@ post-patch: @${FIND} ${WRKSRC}/.. | ${EGREP} "\.(cxx|h|c)$$" | ${XARGS} \ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" +mozilla: +.if ! exists(${WRKDIR}/FREEBSDGCCIinc.zip) +.if ! exists(${WRKDIR}/mozilla/Makefile) + @${ECHO_MSG} "===> Building mozilla sub project" + @${MKDIR} ${WRKDIR}/mozilla + @${CP} -r ${PORTSDIR}/www/mozilla/files ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/Makefile ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/distinfo ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/pkg-comment ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/pkg-descr ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/pkg-plist ${WRKDIR}/mozilla +.endif +.if defined(WITH_DEBUG) + @${CP} ${WRKDIR}/mozilla/Makefile ${WRKDIR}/mozilla/Makefile.new + @${SED} -e 's|--disable-debug||' \ + -e 's|--disable-cpp-rtti||' \ + -e 's|--enable-strip||' \ + < ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile +.endif + @cd ${WRKDIR}/mozilla && ${MAKE} build + @${CP} ${FILESDIR}/zipmoz.sh ${WRKDIR} + @${CHMOD} 755 ${WRKDIR}/zipmoz.sh + @${WRKDIR}/zipmoz.sh ${WRKDIR}/mozilla/work/mozilla/dist FREEBSDGCCI ${WRKDIR} + @${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/ + @${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/ + @${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/ +.endif + do-build: + @${MAKE} mozilla .if exists(${WRKDIR}/.Xvfb.pid) @${CAT} ${WRKDIR}/.Xvfb.pid | xargs kill @${RM} -f ${WRKDIR}/.Xvfb.pid diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile index d899929..aa78538 100644 --- a/editors/openoffice.org-1.0/Makefile +++ b/editors/openoffice.org-1.0/Makefile @@ -13,8 +13,7 @@ MASTER_SITES+= http://sf1.mirror.openoffice.org/${PORTVERSION}/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ http://people.freebsd.org/~mbr/distfiles/ \ http://dict.progbits.com/ -DISTFILES+= OOo_${PORTVERSION}_source.tar.bz2 gpc231.tar.Z \ - oo_moz_1.0_includes.tgz ${MOZILLADIST} +DISTFILES+= OOo_${PORTVERSION}_source.tar.bz2 gpc231.tar.Z SORT?= /usr/bin/sort CUT?= /usr/bin/cut @@ -24,32 +23,37 @@ CUT?= /usr/bin/cut INSTALLATION_BASEDIR= OpenOffice.org1.0 DIST_SUBDIR= openoffice DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ + # # configuration for language specific slave ports # .if !defined(LANG_EXT) LANG_EXT=01 +.else +# +# Add pkg-comment and pkg-descr if available +# +.if exists(${.CURDIR}/pkg-comment) +COMMENT= ${.CURDIR}/pkg-comment .endif +.if exists(${.CURDIR}/pkg-descr) +DESCR= ${.CURDIR}/pkg-descr +.endif +# +# Set prefix and suffix +# .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif - +.endif # if defined(LANG_PKGNAME) # # LANG_CONFIGURE_ARG is missing for the german port # .if defined(LANG_EXT) && ${LANG_EXT}!=49 CONFIGURE_ARGS+= --with-lang=${LANG_CONFIGURE_ARG},ENUS .endif - -.if exists(${.CURDIR}/pkg-comment) -COMMENT= ${.CURDIR}/pkg-comment -.endif - -.if exists(${.CURDIR}/pkg-descr) -DESCR= ${.CURDIR}/pkg-descr -.endif .endif .if ${OSVERSION} < 500000 @@ -75,21 +79,6 @@ BUILD_DEPENDS+= gcc31:${PORTSDIR}/lang/gcc31 CC= gcc31 CXX= g++31 .endif -.if defined(USE_GCC) && ${USE_GCC} == 2.95 -MOZILLADIST= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc2.95-ports.tar.gz -.else -MOZILLADIST= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc3.1-system.tar.gz -.endif -.else -.if defined(USE_GCC) && ${USE_GCC} == 3.1 -.if defined(WITH_DEBUG) && ${WITH_DEBUG} == 2 -MOZILLADIST= oo_moz_1.0_i386_FreeBSD-4-gcc3.1-debug-ports.tar.gz -.else -MOZILLADIST= oo_moz_1.0_i386_FreeBSD-4-gcc3.1-ports.tar.gz -.endif -.else -MOZILLADIST= oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc2.95-system.tar.gz -.endif .endif EXTRACT_ONLY= OOo_${PORTVERSION}_source.tar.bz2 @@ -114,7 +103,7 @@ USE_GMAKE= yes EXTRACT_BEFORE_ARGS_R= -dc EXTRACT_AFTER_ARGS_R= | ${TAR} -xf - EXTRACT_CMD_R= ${GZIP_CMD} -EXTRACT_REST= gpc231.tar.Z ${MOZILLADIST} oo_moz_1.0_includes.tgz +EXTRACT_REST= gpc231.tar.Z JDK13DIR?= ${LOCALBASE}/jdk1.3.1 JAVAVM= ${JDK13DIR}/bin/java @@ -125,6 +114,7 @@ WRKSRC= ${WRKDIR}/oo_1.0.1_src/config_office LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/641/unxfbsd.pro/lib/ .if defined(WITH_DEBUG) +CFLAGS+= -g .if ${WITH_DEBUG} == 2 DMAKE= dmake debug="true" .else @@ -225,7 +215,7 @@ pre-fetch: @${ECHO} "datasize to build. Check your limit" @${ECHO} "settings and and put this in /boot/loader.conf" @${ECHO} "if neccessary:" - @${ECHO} + @${ECHO} @${ECHO} "kern.maxdsiz=\"1073741824\"" @${ECHO} "kern.maxssiz=\"268435456\"" .endif @@ -278,9 +268,6 @@ post-extract: done @${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/ @${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/ - @${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/ - @${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/ - @${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/ post-patch: .if defined(WITH_TTF_BYTECODE_ENABLED) @@ -323,7 +310,36 @@ post-patch: @${FIND} ${WRKSRC}/.. | ${EGREP} "\.(cxx|h|c)$$" | ${XARGS} \ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" +mozilla: +.if ! exists(${WRKDIR}/FREEBSDGCCIinc.zip) +.if ! exists(${WRKDIR}/mozilla/Makefile) + @${ECHO_MSG} "===> Building mozilla sub project" + @${MKDIR} ${WRKDIR}/mozilla + @${CP} -r ${PORTSDIR}/www/mozilla/files ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/Makefile ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/distinfo ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/pkg-comment ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/pkg-descr ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/pkg-plist ${WRKDIR}/mozilla +.endif +.if defined(WITH_DEBUG) + @${CP} ${WRKDIR}/mozilla/Makefile ${WRKDIR}/mozilla/Makefile.new + @${SED} -e 's|--disable-debug||' \ + -e 's|--disable-cpp-rtti||' \ + -e 's|--enable-strip||' \ + < ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile +.endif + @cd ${WRKDIR}/mozilla && ${MAKE} build + @${CP} ${FILESDIR}/zipmoz.sh ${WRKDIR} + @${CHMOD} 755 ${WRKDIR}/zipmoz.sh + @${WRKDIR}/zipmoz.sh ${WRKDIR}/mozilla/work/mozilla/dist FREEBSDGCCI ${WRKDIR} + @${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/ + @${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/ + @${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/ +.endif + do-build: + @${MAKE} mozilla .if exists(${WRKDIR}/.Xvfb.pid) @${CAT} ${WRKDIR}/.Xvfb.pid | xargs kill @${RM} -f ${WRKDIR}/.Xvfb.pid diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile index d899929..aa78538 100644 --- a/editors/openoffice/Makefile +++ b/editors/openoffice/Makefile @@ -13,8 +13,7 @@ MASTER_SITES+= http://sf1.mirror.openoffice.org/${PORTVERSION}/ \ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ \ http://people.freebsd.org/~mbr/distfiles/ \ http://dict.progbits.com/ -DISTFILES+= OOo_${PORTVERSION}_source.tar.bz2 gpc231.tar.Z \ - oo_moz_1.0_includes.tgz ${MOZILLADIST} +DISTFILES+= OOo_${PORTVERSION}_source.tar.bz2 gpc231.tar.Z SORT?= /usr/bin/sort CUT?= /usr/bin/cut @@ -24,32 +23,37 @@ CUT?= /usr/bin/cut INSTALLATION_BASEDIR= OpenOffice.org1.0 DIST_SUBDIR= openoffice DICT_DIR= ${PREFIX}/${INSTALLATION_BASEDIR}/share/dict/ooo/ + # # configuration for language specific slave ports # .if !defined(LANG_EXT) LANG_EXT=01 +.else +# +# Add pkg-comment and pkg-descr if available +# +.if exists(${.CURDIR}/pkg-comment) +COMMENT= ${.CURDIR}/pkg-comment .endif +.if exists(${.CURDIR}/pkg-descr) +DESCR= ${.CURDIR}/pkg-descr +.endif +# +# Set prefix and suffix +# .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif - +.endif # if defined(LANG_PKGNAME) # # LANG_CONFIGURE_ARG is missing for the german port # .if defined(LANG_EXT) && ${LANG_EXT}!=49 CONFIGURE_ARGS+= --with-lang=${LANG_CONFIGURE_ARG},ENUS .endif - -.if exists(${.CURDIR}/pkg-comment) -COMMENT= ${.CURDIR}/pkg-comment -.endif - -.if exists(${.CURDIR}/pkg-descr) -DESCR= ${.CURDIR}/pkg-descr -.endif .endif .if ${OSVERSION} < 500000 @@ -75,21 +79,6 @@ BUILD_DEPENDS+= gcc31:${PORTSDIR}/lang/gcc31 CC= gcc31 CXX= g++31 .endif -.if defined(USE_GCC) && ${USE_GCC} == 2.95 -MOZILLADIST= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc2.95-ports.tar.gz -.else -MOZILLADIST= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc3.1-system.tar.gz -.endif -.else -.if defined(USE_GCC) && ${USE_GCC} == 3.1 -.if defined(WITH_DEBUG) && ${WITH_DEBUG} == 2 -MOZILLADIST= oo_moz_1.0_i386_FreeBSD-4-gcc3.1-debug-ports.tar.gz -.else -MOZILLADIST= oo_moz_1.0_i386_FreeBSD-4-gcc3.1-ports.tar.gz -.endif -.else -MOZILLADIST= oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc2.95-system.tar.gz -.endif .endif EXTRACT_ONLY= OOo_${PORTVERSION}_source.tar.bz2 @@ -114,7 +103,7 @@ USE_GMAKE= yes EXTRACT_BEFORE_ARGS_R= -dc EXTRACT_AFTER_ARGS_R= | ${TAR} -xf - EXTRACT_CMD_R= ${GZIP_CMD} -EXTRACT_REST= gpc231.tar.Z ${MOZILLADIST} oo_moz_1.0_includes.tgz +EXTRACT_REST= gpc231.tar.Z JDK13DIR?= ${LOCALBASE}/jdk1.3.1 JAVAVM= ${JDK13DIR}/bin/java @@ -125,6 +114,7 @@ WRKSRC= ${WRKDIR}/oo_1.0.1_src/config_office LD_PATH1= ${WRKSRC}/../vos/unxfbsd.pro/lib/:${WRKSRC}/../ucbhelper/unxfbsd.pro/lib/ LD_PATH= ${LD_PATH1}:${WRKSRC}/../solver/641/unxfbsd.pro/lib/ .if defined(WITH_DEBUG) +CFLAGS+= -g .if ${WITH_DEBUG} == 2 DMAKE= dmake debug="true" .else @@ -225,7 +215,7 @@ pre-fetch: @${ECHO} "datasize to build. Check your limit" @${ECHO} "settings and and put this in /boot/loader.conf" @${ECHO} "if neccessary:" - @${ECHO} + @${ECHO} @${ECHO} "kern.maxdsiz=\"1073741824\"" @${ECHO} "kern.maxssiz=\"268435456\"" .endif @@ -278,9 +268,6 @@ post-extract: done @${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/ @${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/ - @${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/ - @${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/ - @${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/ post-patch: .if defined(WITH_TTF_BYTECODE_ENABLED) @@ -323,7 +310,36 @@ post-patch: @${FIND} ${WRKSRC}/.. | ${EGREP} "\.(cxx|h|c)$$" | ${XARGS} \ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" +mozilla: +.if ! exists(${WRKDIR}/FREEBSDGCCIinc.zip) +.if ! exists(${WRKDIR}/mozilla/Makefile) + @${ECHO_MSG} "===> Building mozilla sub project" + @${MKDIR} ${WRKDIR}/mozilla + @${CP} -r ${PORTSDIR}/www/mozilla/files ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/Makefile ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/distinfo ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/pkg-comment ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/pkg-descr ${WRKDIR}/mozilla + @${CP} ${PORTSDIR}/www/mozilla/pkg-plist ${WRKDIR}/mozilla +.endif +.if defined(WITH_DEBUG) + @${CP} ${WRKDIR}/mozilla/Makefile ${WRKDIR}/mozilla/Makefile.new + @${SED} -e 's|--disable-debug||' \ + -e 's|--disable-cpp-rtti||' \ + -e 's|--enable-strip||' \ + < ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile +.endif + @cd ${WRKDIR}/mozilla && ${MAKE} build + @${CP} ${FILESDIR}/zipmoz.sh ${WRKDIR} + @${CHMOD} 755 ${WRKDIR}/zipmoz.sh + @${WRKDIR}/zipmoz.sh ${WRKDIR}/mozilla/work/mozilla/dist FREEBSDGCCI ${WRKDIR} + @${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/ + @${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/ + @${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/ +.endif + do-build: + @${MAKE} mozilla .if exists(${WRKDIR}/.Xvfb.pid) @${CAT} ${WRKDIR}/.Xvfb.pid | xargs kill @${RM} -f ${WRKDIR}/.Xvfb.pid |