Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 13:45:48 GMT
From:      Matthieu Volat <mazhe@alkumuna.eu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187574: [PATCH] Fix makefile.xpi installation directory
Message-ID:  <201403141345.s2EDjmEt045324@cgiserv.freebsd.org>
Resent-Message-ID: <201403141350.s2EDo055005313@freefall.freebsd.org>

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

>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:



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