summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-me
blob: 15b4833e10fba77623ea95ecf7c696faa1f9ccaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-me,v 1.3 2010/07/12 16:49:22 tnn Exp $

Add DragonFly support.
Disable assembly routines in freebl on Linux (PR pkg/43146)

--- mozilla/security/nss/lib/freebl/Makefile.orig	2010-04-13 22:22:54.000000000 +0000
+++ mozilla/security/nss/lib/freebl/Makefile
@@ -154,7 +154,9 @@ ifeq ($(USE_N32),1)
 endif
 endif
 
-ifeq ($(OS_TARGET),Linux)
+# pkgsrc PR pkg/43146
+#ifeq ($(OS_TARGET),Linux)
+ifeq (true, false)
 ifeq ($(CPU_ARCH),x86_64)
     ASFILES  = arcfour-amd64-gas.s mpi_amd64_gas.s
     ASFLAGS += -march=opteron -m64 -fPIC -Wa,--noexecstack
@@ -224,7 +226,7 @@ endif
 # to bind the blapi function references in FREEBLVector vector
 # (ldvector.c) to the blapi functions defined in the freebl
 # shared libraries.
-ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD OpenBSD, $(OS_TARGET)))
+ifeq (,$(filter-out BSD_OS DragonFly FreeBSD Linux NetBSD OpenBSD, $(OS_TARGET)))
     MKSHLIB += -Wl,-Bsymbolic
 endif