diff options
author | Maho Nakata <maho@FreeBSD.org> | 2014-02-03 11:31:17 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2014-02-03 11:31:17 +0000 |
commit | 73e752268bd0a7dcfd0283658eba92712eba6950 (patch) | |
tree | c0d6019fe1cb8364d0d1ae7047436bb1f797b2e3 /editors | |
parent | 833a82123aed2b2d7fc767f4cb26852442bdbc2a (diff) |
Notes
Diffstat (limited to 'editors')
-rw-r--r-- | editors/openoffice-devel/Makefile | 9 | ||||
-rw-r--r-- | editors/openoffice-devel/files/patch-nss | 43 |
2 files changed, 49 insertions, 3 deletions
diff --git a/editors/openoffice-devel/Makefile b/editors/openoffice-devel/Makefile index d633f7c9608e..fde8af5d0cf5 100644 --- a/editors/openoffice-devel/Makefile +++ b/editors/openoffice-devel/Makefile @@ -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 xrandr \ 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/cairo \ 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 \ 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" |