Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2007 21:26:57 +0200 (CEST)
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        openoffice@FreeBSD.org
Subject:   ports/111632: editors/openoffice.org-2: Unable to extract with TWEAK_L10N
Message-ID:  <200704151926.l3FJQvVp088013@roadrunner.q.local>
Resent-Message-ID: <200704151930.l3FJU2El056697@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111632
>Category:       ports
>Synopsis:       editors/openoffice.org-2: Unable to extract with TWEAK_L10N
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 15 19:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>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}
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704151926.l3FJQvVp088013>