Subject: pkg/33338: www/mozilla fails to build on amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <collver@peak.org>
List: pkgsrc-bugs
Date: 04/22/2006 15:25:00
>Number:         33338
>Category:       pkg
>Synopsis:       www/mozilla fails to build on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 22 15:25:00 +0000 2006
>Originator:     collver@peak.org
>Release:        NetBSD 3.0
>Organization:
>Environment:
NetBSD/amd64 3.0
>Description:
/usr/pkg/bin/perl -I../../config ../../config/preprocessor.pl -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \
        -DHAS_TMPL_RETENTION\
        resources/content/p3p.xsl.in > p3p200010.xsl
../../config/preprocessor.pl: invalid argument to -D: HAS_TMPL_RETENTIONresources/content/p3p.xsl.in
make[3]: *** [p3p200010.xsl] Error 2
make[3]: *** Deleting file `p3p200010.xsl'
make[3]: Leaving directory `/pkg_comp/obj/pkgsrc/www/mozilla/default/mozilla/extensions/p3p'
make[2]: *** [libs] Error 2
>How-To-Repeat:
Try to build www/mozilla from pkgsrc-current on NetBSD/amd64 3.0.
>Fix:
Add patches/patch-cn.
HA1 (patch-cn) = f11897f1938be7fd2a594ed75e474173dc5e6628

$NetBSD$

--- extensions/p3p/Makefile.in.orig	2003-12-04 18:20:16.000000000 +0000
+++ extensions/p3p/Makefile.in
@@ -62,23 +62,23 @@ p3p200005.xsl: resources/content/p3p.xsl
 p3p200010.xsl: resources/content/p3p.xsl.in Makefile.in
 	@$(RM) -f $@
 	$(PP) -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \
-	-DHAS_TMPL_RETENTION\
+	-DHAS_TMPL_RETENTION \
 	$< > $@
 
 p3p200012.xsl: resources/content/p3p.xsl.in Makefile.in
 	@$(RM) -f $@
 	$(PP) -DNAMESPACE=http://www.w3.org/2000/12/P3Pv1 \
-	-DHAS_CALL_OURS\
+	-DHAS_CALL_OURS \
 	$< > $@
 
 p3p200109.xsl: resources/content/p3p.xsl.in Makefile.in
 	@$(RM) -f $@
 	$(PP) -DNAMESPACE=http://www.w3.org/2001/09/P3Pv1 \
-	-DHAS_CALL_OURS\
+	-DHAS_CALL_OURS \
 	$< > $@
 
 p3p200201.xsl: resources/content/p3p.xsl.in Makefile.in
 	@$(RM) -f $@
 	$(PP) -DNAMESPACE=http://www.w3.org/2002/01/P3Pv1 \
-	-DHAS_CALL_OURS -DHAS_PURPOSE_SRC\
+	-DHAS_CALL_OURS -DHAS_PURPOSE_SRC \
 	$< > $@