Date: Wed, 2 Nov 2011 10:53:49 GMT From: "4720@hushmail.com" <4720@hushmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162248: [patch] devel/avr-binutils conflicts with devel/binutils Message-ID: <201111021053.pA2ArnVB079355@red.freebsd.org> Resent-Message-ID: <201111021100.pA2B0Mq0007717@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162248 >Category: ports >Synopsis: [patch] devel/avr-binutils conflicts with devel/binutils >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: Wed Nov 02 11:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: 4720@hushmail.com >Release: >Organization: >Environment: >Description: devel/binutils and devel/avr-binutils install info files to the same place, overwriting each others files in the process. pkg_info -W /usr/local/info/as.info pkg_info: both avr-binutils-2.20_1 and binutils-2.21.1 claim to have installed /usr/local/info/as.info >How-To-Repeat: >Fix: attached patch installs devel/avr-binutils info files into a separate directory to resolve files conflict. Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/avr-binutils/Makefile,v retrieving revision 1.52 diff -u -r1.52 Makefile --- Makefile 23 Sep 2011 22:21:50 -0000 1.52 +++ Makefile 2 Nov 2011 05:35:47 -0000 @@ -49,5 +49,10 @@ avr-windmc.1 \ avr-windres.1 INFO= as binutils gprof ld +INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info + +add-plist-post: + @${ECHO_CMD} "@unexec rmdir %D/${INFO_PATH} 2> /dev/null || true" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec rmdir %D/${PKGNAMEPREFIX:S/-$//} 2> /dev/null || true" >> ${TMPPLIST} .include <bsd.port.mk> Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/devel/avr-binutils/pkg-plist,v retrieving revision 1.17 diff -u -r1.17 pkg-plist --- pkg-plist 4 Mar 2010 13:38:29 -0000 1.17 +++ pkg-plist 2 Nov 2011 05:35:48 -0000 @@ -157,4 +157,3 @@ @dirrm avr/lib/ldscripts @dirrm avr/lib @dirrm avr/bin -@dirrm avr >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111021053.pA2ArnVB079355>