aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-devel/files
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-02-04 15:45:35 +0800
committerreg <reg@FreeBSD.org>2000-02-04 15:45:35 +0800
commit4a8f43a5f7162f6385ba200e40c9586972c55edf (patch)
tree3999d8526938d7202bac5b00257d173ab57f1cfc /www/mozilla-devel/files
parent3ff812596eefc0bc9b8fbb1275ddb461eb50db58 (diff)
downloadfreebsd-ports-gnome-4a8f43a5f7162f6385ba200e40c9586972c55edf.tar.gz
freebsd-ports-gnome-4a8f43a5f7162f6385ba200e40c9586972c55edf.tar.zst
freebsd-ports-gnome-4a8f43a5f7162f6385ba200e40c9586972c55edf.zip
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.
Diffstat (limited to 'www/mozilla-devel/files')
-rw-r--r--www/mozilla-devel/files/mozilla.sh6
-rw-r--r--www/mozilla-devel/files/patch-ak19
-rw-r--r--www/mozilla-devel/files/patch-mi23
3 files changed, 40 insertions, 8 deletions
diff --git a/www/mozilla-devel/files/mozilla.sh b/www/mozilla-devel/files/mozilla.sh
new file mode 100644
index 000000000000..921c334f6073
--- /dev/null
+++ b/www/mozilla-devel/files/mozilla.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+cd @PREFIX@/lib/mozilla
+exec ./mozilla $*
diff --git a/www/mozilla-devel/files/patch-ak b/www/mozilla-devel/files/patch-ak
new file mode 100644
index 000000000000..3b430ef27dc2
--- /dev/null
+++ b/www/mozilla-devel/files/patch-ak
@@ -0,0 +1,19 @@
+--- nsprpub/pr/include/md/_freebsd.h.orig Wed Dec 22 15:39:04 1999
++++ nsprpub/pr/include/md/_freebsd.h Thu Feb 3 03:48:20 2000
+@@ -21,6 +21,7 @@
+
+ #include "prthread.h"
+
++#include <sys/param.h>
+ #include <sys/syscall.h>
+
+ #define PR_LINKER_ARCH "freebsd"
+@@ -49,7 +50,7 @@
+ #define _PR_HAVE_SOCKADDR_LEN
+ #define _PR_STAT_HAS_ST_ATIMESPEC
+ #define _PR_NO_LARGE_FILES
+-#if ( __FreeBSD__ > 2 )
++#if ( __FreeBSD_version >= 220000 ) && ( __FreeBSD_version < 400008 )
+ #if !defined(_PR_PTHREADS)
+ /*
+ * libc_r doesn't have poll(). Although libc has poll(), it is not
diff --git a/www/mozilla-devel/files/patch-mi b/www/mozilla-devel/files/patch-mi
index 51da7ba70d69..80768e265de9 100644
--- a/www/mozilla-devel/files/patch-mi
+++ b/www/mozilla-devel/files/patch-mi
@@ -1,15 +1,22 @@
-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 @@
+--- nsprpub/config/FreeBSD.mk.orig Wed Oct 20 14:19:53 1999
++++ nsprpub/config/FreeBSD.mk Thu Feb 3 03:48:20 2000
+@@ -21,14 +21,16 @@
+
+ include $(MOD_DEPTH)/config/UNIX.mk
+
-CC = gcc
-CCC = g++
-@@ -26,0 +25,5 @@
+ RANLIB = ranlib
+CCC = ${CXX}
+
+# During FreeBSD port build, CFLAGS contains all of the optimizations
+# flags desired...
+OPTIMIZER =
-@@ -31 +33,0 @@
--OS_REL_CFLAGS = -mno-486 -Di386
+
+ ifeq ($(OS_TEST),alpha)
+ CPU_ARCH = alpha
+ else
+-OS_REL_CFLAGS = -Di386
+ CPU_ARCH = x86
+ endif
+ CPU_ARCH_TAG = _$(CPU_ARCH)