ports/158610: [patch] www/firefox: require cairo version with tee
support
Pan Tsu
inyaoo at gmail.com
Sun Jul 3 14:50:13 UTC 2011
>Number: 158610
>Category: ports
>Synopsis: [patch] www/firefox: require cairo version with tee support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gecko
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 03 14:50:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Pan Tsu
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
Fail early if a user didn't follow the right order[1]. It shouldn't happen
when installing/updating ports with portmaster et al.
With this patch cairo would be queried twice:
- Mk/bsd.gecko.mk - USE_MOZILLA
- www/firefox/Makefile - BUILD_DEPENDS
similar to NSPR.
[1] most recent example: http://forums.freebsd.org/showpost.php?p=139370&postcount=4
>How-To-Repeat:
1. csup ports before 02 Mar 2011
2. install firefox
3. csup again to most recent date
4. update firefox by `make all deinstall install'
$ make
[..]
===> Found cairo-1.10.2,1, but you need to upgrade to cairo>=1.10.2_1,1.
*** Error code 1
>Fix:
--- a.diff begins here ---
Index: www/firefox/Makefile
===================================================================
RCS file: /a/.cvsup/ports/www/firefox/Makefile,v
retrieving revision 1.241
diff -u -p -r1.241 Makefile
--- www/firefox/Makefile 21 Jun 2011 21:12:30 -0000 1.241
+++ www/firefox/Makefile 3 Jul 2011 14:41:15 -0000
@@ -16,7 +16,8 @@ DISTNAME= ${PORTNAME}-${DISTVERSION}.sou
MAINTAINER= gecko at FreeBSD.org
COMMENT= Web browser based on the browser portion of Mozilla
-BUILD_DEPENDS= nspr>=4.8.7:${PORTSDIR}/devel/nspr
+BUILD_DEPENDS= nspr>=4.8.7:${PORTSDIR}/devel/nspr \
+ cairo>=1.10.2_1,1:${PORTSDIR}/graphics/cairo
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \
event-1.4:${PORTSDIR}/devel/libevent
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-gecko
mailing list