editors/openoffice.org-2: Unable to extract with TWEAK_L10N

Ulrich Spoerlein uspoerlein at gmail.com
Sun Apr 15 19:51:17 UTC 2007


>Submitter-Id:	current-users
>Originator:	Ulrich Spoerlein
>Organization:	
>Confidential:	no 
>Synopsis:	editors/openoffice.org-2: Unable to extract with TWEAK_L10N
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 6.2-STABLE i386
>Environment:
>Description:
I'm trying to build a custom OOo package for a friend, but the port Makefile
is flawed, when TWEAK_L10N is specified.

He wants me to build the package with:

LOCALIZED_LANG=         all
TWEAK_L10N=             yes
WITH_TTF_BYTECODE_ENABLED=yes
WITHOUT_MOZILLA=        yes
WITH_CUPS=              yes

Now, I'm not sure what TWEAK_L10N is actually about and if I need it. Any
hint would be appreciated.
>How-To-Repeat:
cd /usr/ports/editors/openoffice.org-2
% make __MAKE_CONF=/dev/null WRKDIRPREFIX=/vol/obj TWEAK_L10N=yes extract 
touch: /vol/obj/usr/ports/editors/openoffice.org-2/work/.extract_done.openoffice.org._usr_local: No such file or directory
*** Error code 1
>Fix:
In the TWEAK_L10N section, mkdir the cookie dir before trying to
touch anything in there.


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/openoffice.org-2/Makefile,v
retrieving revision 1.280
diff -u -p -r1.280 Makefile
--- Makefile	9 Apr 2007 16:14:27 -0000	1.280
+++ Makefile	15 Apr 2007 19:09:52 -0000
@@ -202,6 +202,7 @@ pre-everything::
 	@${RM} -f ${WRKDIR}/.patch_done.*
 	@${RM} -f ${WRKDIR}/.configure_done.*
 	@${RM} -f ${WRKDIR}/.build_done.*
+	@${MKDIR} ${WRKDIR}
 	@${TOUCH} ${EXTRACT_COOKIE}
 	@${TOUCH} ${PATCH_COOKIE}
 	@${TOUCH} ${CONFIGURE_COOKIE}


More information about the freebsd-openoffice mailing list