ports/139449: editors/openoffice.org-3-devel not building properly with bundled NSS
Coleman Kane
cokane at FreeBSD.org
Fri Oct 9 11:50:01 UTC 2009
>Number: 139449
>Category: ports
>Synopsis: editors/openoffice.org-3-devel not building properly with bundled NSS
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 09 11:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Coleman Kane
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
FreeBSD
>Environment:
System: FreeBSD erwin 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r+6437186: Tue Oct 6 15:48:13 EDT 2009 root at erwin:/usr/obj/usr/src/sys/ERWIN amd64
Running latest GNOME
NSS 3.12.4
>Description:
Every time that I build OpenOffice.org 3 devel recently, it fails to
build against the version of NSS that it was bundled with. I found that
adding --disable-nss-module tells it to use the system's NSS instead, which
is from the security/nss port.
>How-To-Repeat:
Try to build editors/openoffice.org-3-devel from ports
>Fix:
Patch below:
diff --git a/editors/openoffice.org-3-devel/Makefile b/editors/openoffice.org-3-devel/Makefile
index 9d8a8dc..8f2360d 100644
--- a/editors/openoffice.org-3-devel/Makefile
+++ b/editors/openoffice.org-3-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME?= openoffice.org
PORTVERSION?= 3.2.${SNAPDATE}
+PORTREVISION= 1
CATEGORIES+= editors java
MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
http://ooopackages.good-day.net/pub/OpenOffice.org/cws/:cws \
@@ -110,6 +111,7 @@ CONFIGURE_ENV+= CC="${OOOCC}" CXX="${OOOCXX}" \
LDFLAGS="-L${LOCALBASE}/lib" \
PATH=${WRKSRC}/solenv/bin:$$PATH
+LIB_DEPENDS= nss3:${PORTSDIR}/security/nss
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
unzip:${PORTSDIR}/archivers/unzip \
gcp:${PORTSDIR}/sysutils/coreutils \
@@ -143,7 +145,8 @@ CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \
--enable-presenter-console \
--enable-pdfimport \
--enable-wiki-publisher \
- --enable-report-builder
+ --enable-report-builder \
+ --disable-nss-module
OOOEXTENSIONS+= minimizer/sun-presentation-minimizer.oxt
OOOEXTENSIONS+= presenter/presenter-screen.oxt
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list