Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 11:31:18 +0000 (UTC)
From:      Maho Nakata <maho@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342426 - in head/editors/openoffice-devel: . files
Message-ID:  <201402031131.s13BVIB6050819@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: maho
Date: Mon Feb  3 11:31:17 2014
New Revision: 342426
URL: http://svnweb.freebsd.org/changeset/ports/342426
QAT: https://qat.redports.org/buildarchive/r342426/

Log:
  Now we use system nss.

Added:
  head/editors/openoffice-devel/files/patch-nss   (contents, props changed)
Modified:
  head/editors/openoffice-devel/Makefile

Modified: head/editors/openoffice-devel/Makefile
==============================================================================
--- head/editors/openoffice-devel/Makefile	Mon Feb  3 11:30:35 2014	(r342425)
+++ head/editors/openoffice-devel/Makefile	Mon Feb  3 11:31:17 2014	(r342426)
@@ -4,6 +4,7 @@
 PORTNAME=	apache-openoffice
 PORTVERSION=	4.0.${SVNREVISION}
 PORTEPOCH=	1
+PORTREVISION=	1
 CATEGORIES=	editors java
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	maho/openoffice
@@ -24,7 +25,7 @@ USE_XORG=	x11 ice xaw xau xext xrender x
 		xi xt xcursor xdamage xcomposite xfixes
 USE_GL=		gl glu
 USE_GSTREAMER=	yes
-#USE_GCC=	4.6+
+USE_GCC=	4.6+
 USE_PYTHON=	yes
 USE_BZIP2=	yes
 USES+=		bison perl5 gmake pkgconfig
@@ -124,7 +125,8 @@ LIB_DEPENDS=	cairo:${PORTSDIR}/graphics/
 		CoinMP:${PORTSDIR}/math/coinmp \
 		serf-1:${PORTSDIR}/www/serf \
 		freetype:${PORTSDIR}/print/freetype2 \
-		textcat:${PORTSDIR}/textproc/libtextcat
+		textcat:${PORTSDIR}/textproc/libtextcat \
+		nss3:${PORTSDIR}/security/nss
 
 BUILD_DEPENDS+=	zip:${PORTSDIR}/archivers/zip \
 		${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \
@@ -205,7 +207,8 @@ CONFIGURE_ARGS+=	--enable-verbose \
 			--with-system-beanshell	\
 			--with-beanshell-jar=${JAVALIBDIR}/bsh.jar \
 			--without-fonts \
-			--with-system-serf
+			--with-system-serf \
+			--with-system-nss
 #			--with-system-jpeg
 #			--enable-pdfimport
 #			--without-stlport --disable-mozilla \

Added: head/editors/openoffice-devel/files/patch-nss
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/openoffice-devel/files/patch-nss	Mon Feb  3 11:31:17 2014	(r342426)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402031131.s13BVIB6050819>