head	1.7;
access;
symbols
	RELEASE_4_5_0:1.6
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.1;
locks; strict;
comment	@# @;


1.7
date	2002.02.15.18.44.15;	author reg;	state dead;
branches;
next	1.6;

1.6
date	2001.09.18.08.12.08;	author sobomax;	state Exp;
branches;
next	1.5;

1.5
date	2001.08.07.11.52.15;	author sobomax;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.22.01.23.18;	author reg;	state Exp;
branches;
next	1.3;

1.3
date	2000.12.21.19.40.44;	author reg;	state Exp;
branches;
next	1.2;

1.2
date	2000.02.04.07.45.34;	author reg;	state Exp;
branches;
next	1.1;

1.1
date	99.11.11.20.16.20;	author jim;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Clean up this port, including GCing old configure options and making patches
more acceptable to mozilla.org.  Hopefully these will make it into 0.9.9.

Add a hack to minimise the number of files extracted.

Merge in the patches from the mozilla+ipv6 port.

Submitted by:	sumikawa (mozilla+ipv6)
@
text
@
$FreeBSD: ports/www/mozilla/files/patch-mi,v 1.6 2001/09/18 08:12:08 sobomax Exp $

--- nsprpub/config/FreeBSD.mk.orig	Sat Jul 29 03:50:35 2000
+++ nsprpub/config/FreeBSD.mk	Mon Sep 17 10:47:08 2001
@@@@ -37,19 +37,21 @@@@
 
 include $(MOD_DEPTH)/config/UNIX.mk
 
-CC			= gcc
-CCC			= g++
+CCC			= $(CXX)
 RANLIB			= ranlib
 
+# During FreeBSD port build, CFLAGS contains all of the optimizations
+# flags desired...
+OPTIMIZER		= $(MOZ_OPTIMIZE_FLAGS)
+
 ifeq ($(OS_TEST),alpha)
 CPU_ARCH		= alpha
 else
-OS_REL_CFLAGS		= -Di386
 CPU_ARCH		= x86
 endif
 CPU_ARCH_TAG		= _$(CPU_ARCH)
 
-OS_CFLAGS		= $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe $(THREAD_FLAG) -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
+OS_CFLAGS		= $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 
 #
 # The default implementation strategy for FreeBSD is pthreads.
@@@@ -60,8 +62,8 @@@@
 else
 USE_PTHREADS		= 1
 IMPL_STRATEGY		= _PTH
-DEFINES			+= -D_THREAD_SAFE
-THREAD_FLAG		+= -pthread
+DEFINES			+= -D_THREAD_SAFE -D_REENTRANT
+DSO_LDOPTS		+= -pthread
 endif
 
 ARCH			= freebsd
@


1.6
log
@Update to 0.9.4.
@
text
@d2 1
a2 1
$FreeBSD$
@


1.5
log
@Update to 0.9.3.

Submitted by:   sf
@
text
@d1 6
a6 3
--- nsprpub/config/FreeBSD.mk.orig	Wed Oct 20 14:19:53 1999
+++ nsprpub/config/FreeBSD.mk	Thu Dec 21 01:16:34 2000
@@@@ -21,24 +21,26 @@@@
d12 1
d14 1
a14 2
+CCC				= ${CXX}
+
d18 1
a18 1
 
d30 5
a34 1
 ifeq ($(USE_PTHREADS),1)
d40 3
a42 3
 else
 IMPL_STRATEGY		= _EMU
 DEFINES			+= -D_PR_LOCAL_THREADS_ONLY
@


1.4
log
@Add PSM support.

Submitted by:	nsayer

Remove use of libgcc_r, since it was so uncerimoniously removed.  If this
doesn't work on -stable, then -stable is broken, and someone needs to fix
it...

Submitted by:	Roman Shterenzon <roman@@xpert.com>

Use sched_getpriority_max(), instead of hard coded value.

Submitted by:	Peter Haight <peterh@@sapros.com>, dufault

Revise pkg-comment and pkg-descr.

PR:		24296
Submitted by:	roam

Enable SVG support, and disable C++ exceptions (since they will only slow
things down).
@
text
@d14 1
a14 1
+OPTIMIZER		=
@


1.3
log
@Explictly link against libgcc_r, to work around bugs in 4.2-RELEASE onwards
and -CURRENT.  I'm still not sure why the bug was exposed only recently, but
it is due to libstdc++ being linked without the -nostdlib option (causing it
to be statically linked against libgcc even for the threaded case).

Thanks to Andrew Bliznak <andrew@@ort.lviv.net> for testing this.
@
text
@d32 1
a32 1
+DSO_LDOPTS		+= -pthread -lgcc_r
@


1.2
log
@Make M13 work on a post no-thunk-vtable 4.0-CURRENT, and enable using
poll().

Enable MathML support.

Use bzip2, since it saves 5MB on the distfile.

Revamp the port a bit.
@
text
@d2 2
a3 2
+++ nsprpub/config/FreeBSD.mk	Thu Feb  3 03:48:20 2000
@@@@ -21,14 +21,16 @@@@
d10 1
a10 1
+CCC			= ${CXX}
d23 13
@


1.1
log
@Update to Milestone 10.

PR:		14272
Submitted by:	Mikhail Teterin <mi@@aldan.algebra.com>
@
text
@d1 6
a6 5
This patch make the FreeBSD port build obey the host's local settings
for C, C++ compiler and (optimization) flags.
--- nsprpub/config/FreeBSD.mk.orig	Wed Apr 21 17:37:37 1999
+++ nsprpub/config/FreeBSD.mk	Mon Oct 11 13:49:41 1999
@@@@ -24,2 +23,0 @@@@
d9 1
a9 1
@@@@ -26,0 +25,5 @@@@
d15 8
a22 2
@@@@ -31 +33,0 @@@@
-OS_REL_CFLAGS		= -mno-486 -Di386
@

