Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 2010 09:09:54 +1100 (EST)
From:      Peter Jeremy <peterjeremy@acm.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        obrien@FreeBSD.org
Subject:   ports/142207: [patch] textproc/urlview fails when WITH_GECKO defined
Message-ID:  <200912312209.nBVM9rjU041717@server.vk2pj.dyndns.org>
Resent-Message-ID: <200912312220.nBVMK1m4069571@freefall.freebsd.org>

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

>Number:         142207
>Category:       ports
>Synopsis:       [patch] textproc/urlview fails when WITH_GECKO defined
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 31 22:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
n/a
>Environment:
System: FreeBSD server.vk2pj.dyndns.org 8.0-STABLE FreeBSD 8.0-STABLE #11: Mon Nov 30 16:36:34 EST 2009 root@server.vk2pj.dyndns.org:/var/obj/usr/src/sys/server amd64

>Description:
	Following the commit of ports/textproc/urlview/Makefile 1.24,
	defining WITH_GECKO causes make to fail because there's no
	/usr/share/mk/bsd.gecko.mk.

>How-To-Repeat:

server% cd /usr/ports/textproc/urlview && make WITH_GECKO=libxul describe
"Makefile", line 32: Could not find bsd.gecko.mk
make: fatal errors encountered -- cannot continue
server% 

>Fix:

Based on other similar Makefiles, the fix is something like:
Index: Makefile
===================================================================
RCS file: /usr/ncvs/ports/textproc/urlview/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile	29 Dec 2009 03:46:26 -0000	1.24
+++ Makefile	31 Dec 2009 21:58:43 -0000
@@ -29,7 +29,7 @@
 
 .if defined(WITH_GECKO)
 USE_GECKO=	firefox-devel firefox35 seamonkey
-.include <bsd.gecko.mk>
+.include "${PORTSDIR}/Mk/bsd.gecko.mk"
 .elif defined(WITH_SEAMONKEY)
 RUN_DEPENDS+=	${LOCALBASE}/lib/seamonkey/seamonkey-bin:${PORTSDIR}/www/seamonkey
 GECKO=		seamonkey
>Release-Note:
>Audit-Trail:
>Unformatted:



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