Date: Tue, 7 Jan 2014 21:26:45 GMT From: Alexander Yerenkow <yerenkow@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/185561: makeplist should ignore dirs from other ports Message-ID: <201401072126.s07LQjYY077114@oldred.freebsd.org> Resent-Message-ID: <201401072130.s07LU0Ur039629@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185561 >Category: ports >Synopsis: makeplist should ignore dirs from other ports >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: Tue Jan 07 21:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Alexander Yerenkow >Release: 9.1-RELEASE FreeBSD 9.1-RELEASE #0: >Organization: >Environment: 9.1-RELEASE FreeBSD 9.1-RELEASE #0: >Description: if ports A create directory ${PREFIX}/some/ and ports B depends on A and creates file ${PREFIX}/some/file `make makeplist` in port B create false positive entry @dirrmtry some which already in port A. I discovered this while building devel/maven31 port. >How-To-Repeat: >Fix: Probably makeplist should be built in two stages: 1. Install all dependency ports into STAGEDIR (Actually, simply create all dirs through their plists should be sufficient) 2. Get list of all dirs => PREDIRLIST; 3. Install target port in stagedir 4. Get list of all dirs => PORTDIRLIST 5. makeplist should use (PORTDIRLIST - PREDIRLIST) and not PORTDIRLIST >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401072126.s07LQjYY077114>