Subject: pkg/23867: www/mozilla doesn't build on FreeBSD; trival fix
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 12/24/2003 06:55:43
>Number: 23867
>Category: pkg
>Synopsis: www/mozilla doesn't build on FreeBSD; trival fix
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 24 06:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Michal Pasternak
>Release: N/A
>Organization:
>Environment:
4.9-STABLE
>Description:
I don't have build output this time, sorry (mozilla takes a lot of time to
compile), but you will get the same effect on i386/NetBSD boxes without
www/mozilla/patches/patch-bp .
>How-To-Repeat:
Obvious
>Fix:
The same as already included in FreeBSD ports (and in pkgsrc, only it
is for NetBSD...):
Index: patch-bp
===================================================================
RCS file: /cvsroot/pkgsrc/www/mozilla/patches/patch-bp,v
retrieving revision 1.2
diff -u -r1.2 patch-bp
--- patch-bp 27 Nov 2003 00:03:53 -0000 1.2
+++ patch-bp 24 Dec 2003 06:54:11 -0000
@@ -8,7 +8,7 @@
$(DESIGNDATA)/restrictions.csv > icalrestriction.c
-ifneq (,$(filter BeOS Darwin OpenVMS,$(OS_ARCH)))
-+ifneq (,$(filter BeOS Darwin OpenVMS NetBSD,$(OS_ARCH)))
++ifneq (,$(filter BeOS Darwin OpenVMS NetBSD FreeBSD,$(OS_ARCH)))
DEFINES += -D__USE_BSD=1
endif
and, for the curious: FreeBSD patch is called
ports/www/mozilla/files/patch-other-licenses_libical_src_libical_Makefile.in
and does basically the same thing.
>Release-Note:
>Audit-Trail:
>Unformatted: