summaryrefslogtreecommitdiff
path: root/editors/openoffice-devel/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2014-02-03 11:31:17 +0000
committerMaho Nakata <maho@FreeBSD.org>2014-02-03 11:31:17 +0000
commit73e752268bd0a7dcfd0283658eba92712eba6950 (patch)
treec0d6019fe1cb8364d0d1ae7047436bb1f797b2e3 /editors/openoffice-devel/files
parentConvert to staging. (diff)
Now we use system nss.
Notes
Notes: svn path=/head/; revision=342426
Diffstat (limited to 'editors/openoffice-devel/files')
-rw-r--r--editors/openoffice-devel/files/patch-nss43
1 files changed, 43 insertions, 0 deletions
diff --git a/editors/openoffice-devel/files/patch-nss b/editors/openoffice-devel/files/patch-nss
new file mode 100644
index 000000000000..a3dec2473dd1
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-nss
@@ -0,0 +1,43 @@
+--- set_soenv.in~ 2014-01-22 15:21:04.000000000 +0900
++++ set_soenv.in 2014-02-03 12:12:03.000000000 +0900
+@@ -1864,6 +1864,8 @@
+ ToFile( "SYSTEM_STDLIBS", "@SYSTEM_STDLIBS@", "e" );
+ ToFile( "SYSTEM_ZLIB", "@SYSTEM_ZLIB@", "e" );
+ ToFile( "SYSTEM_NSS", "@SYSTEM_NSS@", "e" );
++ToFile( "NSS_CFLAGS", "@NSS_CFLAGS@", "e" );
++ToFile( "NSS_LIBS", "@NSS_LIBS@", "e" );
+ ToFile( "SYSTEM_OPENSSL", "@SYSTEM_OPENSSL@", "e" );
+ ToFile( "OPENSSL_CFLAGS", "@OPENSSL_CFLAGS@", "e" );
+ ToFile( "OPENSSL_LIBS", "@OPENSSL_LIBS@", "e" );
+
+--- xmlsecurity/util/makefile.mk 2014-02-03 15:50:50.000000000 +0900
++++ xmlsecurity/util/makefile.mk 2014-02-03 16:03:11.000000000 +0900
+@@ -98,12 +98,12 @@
+ SHL2STDLIBS +=-ldl
+ .ENDIF
+
+-.IF "$(ENABLE_NSS_MODULE)"=="YES" && "$(SYSTEM_NSS)"!="YES"
++.IF "$(ENABLE_NSS_MODULE)"=="YES" && "$(SYSTEM_NSS)"=="YES"
+ .IF "$(NSPR_LIB)" != ""
+ SHL2STDLIBS += $(NSPR_LIB)
+ .ENDIF
+-.IF "$(NSS_LIB)" != ""
+-SHL2STDLIBS += $(NSS_LIB)
++.IF "$(NSS_LIBS)" != ""
++SHL2STDLIBS += $(NSS_LIBS)
+ .ENDIF
+ .ENDIF
+
+--- xmlsecurity/source/xmlsec/nss/makefile.mk 2014-01-22 15:07:16.000000000 +0900
++++ xmlsecurity/source/xmlsec/nss/makefile.mk 2014-02-03 16:13:30.000000000 +0900
+@@ -48,8 +48,8 @@
+ NSPR_INC = $(MOZ_INC)$/nspr
+ .ELSE
+ # TODO: better use pkgconfig to find the proper system include path
+-NSS_INC = /usr/include/nss3
+-NSPR_INC = /usr/include/nspr4
++NSS_INC = $(NSS_CFLAGS)
++NSPR_INC = $(NSS_CFLAGS)
+ .ENDIF
+
+ .IF "$(GUI)" == "WNT"