1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/www/seamonkey/files/patch-mi
Jeremy Lea 58e0c80c37 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).
2001-01-22 01:23:18 +00:00

36 lines
945 B
Plaintext

--- 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 @@
include $(MOD_DEPTH)/config/UNIX.mk
-CC = gcc
-CCC = g++
RANLIB = ranlib
+CCC = ${CXX}
+
+# During FreeBSD port build, CFLAGS contains all of the optimizations
+# flags desired...
+OPTIMIZER =
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
ifeq ($(USE_PTHREADS),1)
IMPL_STRATEGY = _PTH
-DEFINES += -D_THREAD_SAFE
-THREAD_FLAG += -pthread
+DEFINES += -D_THREAD_SAFE -D_REENTRANT
+DSO_LDOPTS += -pthread
else
IMPL_STRATEGY = _EMU
DEFINES += -D_PR_LOCAL_THREADS_ONLY