ports/157690: [PATCH] bsd.port.mk: create patch in PATCHDIR instead of FILESDIR

Baptiste Daroussin bapt at FreeBSD.org
Tue Jun 7 15:30:09 UTC 2011


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



More information about the freebsd-ports-bugs mailing list