mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-08 23:06:56 +00:00
4f912dcce4
Submitted by: ume Repo copied by: PW
42 lines
1002 B
Plaintext
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
|