1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/www/mozilla+ipv6/files/patch-mi
Munechika SUMIKAWA 4f912dcce4 IPv6 enabled mozilla-M17.
Submitted by:	ume
Repo copied by:	PW
2000-08-29 10:40:23 +00:00

42 lines
1002 B
Plaintext

Index: nsprpub/config/FreeBSD.mk
diff -u nsprpub/config/FreeBSD.mk.orig nsprpub/config/FreeBSD.mk
--- nsprpub/config/FreeBSD.mk.orig Thu Oct 21 06:19:53 1999
+++ nsprpub/config/FreeBSD.mk Fri Apr 28 21:01:01 2000
@@ -21,14 +21,16 @@
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)
@@ -61,3 +63,16 @@
MKSHLIB = $(LD) $(DSO_LDOPTS)
G++INCLUDES = -I/usr/include/g++
+
+# IPv6 support part of the standard FreeBSD 4.0 release.
+ifneq (,$(filter-out 2.0 2.1 2.2 3,$(basename $(OS_RELEASE))))
+USE_IPV6 = 1
+endif
+
+# IPv6 support part of the KAME.
+ifeq ($(shell test -f /usr/local/v6/lib/libinet6.a && echo kame),kame)
+USE_IPV6 = 1
+OS_LIBS += -L/usr/local/v6/lib -linet6
+endif
+
+OS_LIBS += -lxpg4