Date: Wed, 26 Nov 2003 10:46:05 +0100 From: =?iso-8859-2?Q?Zbyn=ECk_Burget?= <zburget@c-box.cz> To: <openoffice@FreeBSD.org> Cc: ports@FreeBSD.org Subject: FreeBSD Port: openoffice-1.1.0_1 Message-ID: <005801c3b402$1c9fe100$fa01a8c0@video>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hi,
I find some small imperfections in Makefile for openoffice 1.1
I've defined
WRKDIRPREFIX= /usr/obj
in my make.conf
and attempt of build reports errs
I try find and correct this errs and I was create attached .diff
Now all works...
...sorry for my english :-(
Zbynek Burget
[-- Attachment #2 --]
--- Makefile.orig Thu Nov 20 06:13:27 2003
+++ Makefile Sat Nov 22 12:53:01 2003
@@ -324,7 +324,7 @@
done
@${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/../external/gpc/
@${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/../external/gpc/
- @${MAKE} extract-mozilla
+ @cd ${.CURDIR} && ${MAKE} extract-mozilla
@-${RM} -f ${WRKSRC}/../moz/zipped/*.zip
@${CHMOD} +x ${WRKSRC}/../solenv/bin/zipdep.pl
.if defined(L10NHELP)
@@ -335,9 +335,9 @@
.endif
post-patch:
- @${MAKE} patch-mozilla
- @${MAKE} fix-kdewrappers
- @${MAKE} fix-gnomewrappers
+ @cd ${.CURDIR} && ${MAKE} patch-mozilla
+ @cd ${.CURDIR} && ${MAKE} fix-kdewrappers
+ @cd ${.CURDIR} && ${MAKE} fix-gnomewrappers
.if defined(WITH_TTF_BYTECODE_ENABLED)
@if [ "`echo ${PATCHDIR}/optpatch-*`" != "${PATCHDIR}/optpatch-*" ]; then \
${ECHO_MSG} "===> Applying additional TTF bytecode patches for ${PKGNAME}" ; \
@@ -452,17 +452,17 @@
| ${ZIP} ${WRKDIR}/FREEBSDGCCIruntime.zip -@
mozilla:
- @${MAKE} extract-mozilla
- @${MAKE} patch-mozilla
- @${MAKE} build-mozilla
- @${MAKE} register-mozilla
- @${MAKE} install-mozilla
+ @cd ${.CURDIR} && ${MAKE} extract-mozilla
+ @cd ${.CURDIR} && ${MAKE} patch-mozilla
+ @cd ${.CURDIR} && ${MAKE} build-mozilla
+ @cd ${.CURDIR} && ${MAKE} register-mozilla
+ @cd ${.CURDIR} && ${MAKE} install-mozilla
do-build:
.if ! exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIruntime.zip)
.if ! exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIlib.zip)
.if ! exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIinc.zip)
- @${MAKE} mozilla
+ @cd ${.CURDIR} && ${MAKE} mozilla
.endif
.endif
.endif
@@ -569,8 +569,8 @@
.endif
update:
- @${MAKE} fetch
- @${MAKE} extract
+ @cd ${.CURDIR} && ${MAKE} fetch
+ @cd ${.CURDIR} && ${MAKE} extract
@cd ${WRKSRC}/.. && for dir in *; do \
if [ -d $$dir ]; then \
cd $$dir; cvs update -d; cd ..; \
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005801c3b402$1c9fe100$fa01a8c0>
