Subject: pkg/26022: USE_PKGLOCALEDIR expunge tail backslash
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <obata@zit.to>
List: pkgsrc-bugs
Date: 06/23/2004 09:03:08
>Number:         26022
>Category:       pkg
>Synopsis:       USE_PKGLOCALEDIR expunge tail backslash
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 23 09:04:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     OBATA Akio
>Release:        NetBSD 1.6.2_STABLE
>Organization:
GURU-GURU
>Environment:
NetBSD momiji 1.6.2_STABLE NetBSD 1.6.2_STABLE (MOMIJI) #2: Thu Apr 29 09:27:53 JST 2004     obata@momiji:/usr/src/sys/arch/i386/compile/MOMIJI i386

>Description:
When USE_PKGLOCALEDIR is defined,
it expunge backslash tail of "-DLOCALEDIR" line. 

>How-To-Repeat:
original Makefile.in
*********
DEFS = @DEFS@ \
                -DLOCALEDIR=\"$(localedir)\"\
                -DZPHOTO_TEMPLATE_DIR='"$(ZPHOTO_TEMPLATE_DIR)"'\
                -DZPHOTO_FONT='"$(ZPHOTO_FONT)"'\
                -DZPHOTO_TEMPLATE_DIR_RELATIVE='"$(ZPHOTO_TEMPLATE_DIR_RELATIVE)"'\
                -DZPHOTO_FONT_RELATIVE='"$(ZPHOTO_FONT_RELATIVE)"'
*********
result of "Fixing locale directory references"
*********
DEFS = @DEFS@ \
                -DLOCALEDIR="\"/usr/pkg/share/locale\""
                -DZPHOTO_TEMPLATE_DIR='"$(ZPHOTO_TEMPLATE_DIR)"'\
                -DZPHOTO_FONT='"$(ZPHOTO_FONT)"'\
                -DZPHOTO_TEMPLATE_DIR_RELATIVE='"$(ZPHOTO_TEMPLATE_DIR_RELATIVE)"'\
                -DZPHOTO_FONT_RELATIVE='"$(ZPHOTO_FONT_RELATIVE)"'
 



>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: