Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 10:25:56 GMT
From:      Fico <federicogalvezdurand@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125712: /usr/ports/deskutils/sunbird does not compile
Message-ID:  <200807171025.m6HAPuJe059938@www.freebsd.org>
Resent-Message-ID: <200807171030.m6HAU2SF083400@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125712
>Category:       ports
>Synopsis:       /usr/ports/deskutils/sunbird does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 17 10:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Fico
>Release:        7.0
>Organization:
UFRJ
>Environment:
FreeBSD trinity.local 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Feb 29 17:08:36 CET 2008     root@trinity.local:/usr/obj/usr/src/sys/TRINITY  i386
>Description:
Makefile uses ${LIB_BZ2} which is not defined.
>How-To-Repeat:
cd /usr/ports/deskutils/sunbird && make
>Fix:
Use ${LIBBZ2} defined in /usr/share/mk/bsd.libnames.mk

Patch attached with submission follows:

--- /usr/ports/deskutils/sunbird/Makefile.orig	2008-07-17 11:19:31.000000000 +0200
+++ /usr/ports/deskutils/sunbird/Makefile	2008-07-17 11:58:01.000000000 +0200
@@ -39,6 +39,8 @@
 		--enable-canvas
 MOZ_MK_OPTIONS=	MOZ_CO_PROJECT=calendar
 
+.include <bsd.init.mk>
+.include <bsd.libnames.mk>
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/www/mozilla/Makefile.common"
 
@@ -51,7 +53,7 @@
 		${FILESDIR}/sunbird.desktop.in >${WRKDIR}/sunbird.desktop
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
 		${WRKSRC}/security/manager/ssl/src/Makefile.in
-	@${REINPLACE_CMD} -e 's|%%LIB_BZ2%%|${LIB_BZ2}|' \
+	@${REINPLACE_CMD} -e 's|%%LIB_BZ2%%|${LIBBZ2}|' \
 		${WRKSRC}/toolkit/mozapps/update/src/updater/Makefile.in
 
 post-build:


>Release-Note:
>Audit-Trail:
>Unformatted:



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