From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 14 13:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 571D91E8 for ; Fri, 14 Mar 2014 13:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 19E6ACDE for ; Fri, 14 Mar 2014 13:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2EDo0uw005314 for ; Fri, 14 Mar 2014 13:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2EDo055005313; Fri, 14 Mar 2014 13:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 14 Mar 2014 13:50:00 GMT Resent-Message-Id: <201403141350.s2EDo055005313@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthieu Volat Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 295A6195 for ; Fri, 14 Mar 2014 13:45:50 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 16283CB0 for ; Fri, 14 Mar 2014 13:45:50 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2EDjnvK045327 for ; Fri, 14 Mar 2014 13:45:49 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2EDjmEt045324; Fri, 14 Mar 2014 13:45:48 GMT (envelope-from nobody) Message-Id: <201403141345.s2EDjmEt045324@cgiserv.freebsd.org> Date: Fri, 14 Mar 2014 13:45:48 GMT From: Matthieu Volat To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187574: [PATCH] Fix makefile.xpi installation directory X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2014 13:50:01 -0000 >Number: 187574 >Category: ports >Synopsis: [PATCH] Fix makefile.xpi installation directory >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: Fri Mar 14 13:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Matthieu Volat >Release: 10.0-RELEASE >Organization: >Environment: >Description: There is a definition of path in ${PORTSDIR}/www/xpi-adblock/Makefile.xpi that cause installation to go south and install stuff in ${STAGEDIR}/${STAGEDIR}. Those files are hopefully left aside from the packaging, but it nevertheless results in an not working adblock/adblock_plus package. >How-To-Repeat: Build www/xpi-adblock_plus, see the error messages at (re)install, observe the absence of working adblock in browser. >Fix: Fix the XPI_SLDIR variable to the correct path, see patch. Patch attached with submission follows: --- www/xpi-adblock/Makefile.xpi.orig 2014-03-14 14:15:04.037296550 +0100 +++ www/xpi-adblock/Makefile.xpi 2014-03-14 14:38:15.059197937 +0100 @@ -139,7 +139,7 @@ XPI_LINKFARMS= ${XPI_APPS} ${XPI_SLDIRS} XPI_LIBDIR?= ${STAGEDIR}${PREFIX}/lib/xpi -XPI_SLDIR?= ${STAGEDIR}${XPI_LIBDIR}/symlinks +XPI_SLDIR?= ${STAGEDIR}${PREFIX}/lib/xpi/symlinks .ifndef XPI_DISTNAMES XPI_XPIDIR?= ${XPI_LIBDIR}/${XPI_ID} .endif >Release-Note: >Audit-Trail: >Unformatted: