Date: Tue, 7 Jun 2011 15:26:15 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/157690: [PATCH] bsd.port.mk: create patch in PATCHDIR instead of FILESDIR Message-ID: <201106071526.p57FQFHh036592@freefall.freebsd.org> Resent-Message-ID: <201106071530.p57FU935036694@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157690 >Category: ports >Synopsis: [PATCH] bsd.port.mk: create patch in PATCHDIR instead of FILESDIR >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 Jun 07 15:30:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Baptiste Daroussin >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD azathoth.lan 8.2-STABLE FreeBSD 8.2-STABLE #0 r219454M: Thu Mar 10 20:09:22 CET 2011 root@azathoth.lan:/usr/obj/usr/src/sys/AZATHOTH amd64 >Description: make makepatch creates patches in FILESIDR instead of creating them in PATCHDIR >How-To-Repeat: run make makepatch in multimedia/gstreamer-plugins-mpeg2enc it will create patches in multimedia/gstreamer-plugins/files instead of multimedia/gstreamer-plugins-bad >Fix: --- create_patches_in_patchdir_not_in_filesdir.diff begins here --- ? create_patches_in_patchdir_not_in_filesdir.diff Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.684 diff -u -r1.684 bsd.port.mk --- bsd.port.mk 6 Jun 2011 05:53:51 -0000 1.684 +++ bsd.port.mk 7 Jun 2011 12:38:16 -0000 @@ -1178,7 +1178,7 @@ for i in `find . -type f -name '*.orig'`; do \ ORG=$$i; \ NEW=$${i%.orig}; \ - OUT=${FILESDIR}`${ECHO} $${NEW} | \ + OUT=${PATCHDIR}`${ECHO} $${NEW} | \ ${SED} -e 's|/|__|g' \ -e 's|^\.__|/patch-|'`; \ ${ECHO} ${DIFF} -ud $${ORG} $${NEW} '>' $${OUT}; \ --- create_patches_in_patchdir_not_in_filesdir.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106071526.p57FQFHh036592>