FreeBSD Bugzilla – Attachment 56618 Details for
Bug 85488
[PATCH] New "makepatch: " target to help ports authors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.12 KB, created by
Mark Murray
on 2005-08-30 17:20:12 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Mark Murray
Created:
2005-08-30 17:20:12 UTC
Size:
1.12 KB
patch
obsolete
>Index: bsd.port.mk >=================================================================== >RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v >retrieving revision 1.516 >diff -u -d -r1.516 bsd.port.mk >--- bsd.port.mk 28 Aug 2005 18:47:56 -0000 1.516 >+++ bsd.port.mk 29 Aug 2005 09:52:35 -0000 >@@ -927,6 +927,26 @@ > # Most port authors should not need to understand anything after this point. > # > >+# Look for ${WRKSRC}/.../*.orig files, and (re-)create >+# ${FILEDIR}/patch-* files from them. >+ >+.if !target(makepatch) >+makepatch: >+ @cd ${.CURDIR} && ${MKDIR} ${FILESDIR} >+ @(cd ${WRKSRC}; \ >+ for i in `find . -type f -name '*.orig'`; do \ >+ ORG=$$i; \ >+ NEW=$${i%.orig}; \ >+ OUT=${FILESDIR}`${ECHO} $${NEW} | \ >+ ${SED} -e 's|/|__|g' \ >+ -e 's|^\.__|/patch-|'`; \ >+ ${ECHO} ${DIFF} -ud $${ORG} $${NEW} '>' $${OUT}; \ >+ ${DIFF} -ud $${ORG} $${NEW} > $${OUT} || ${TRUE}; \ >+ done \ >+ ) >+.endif >+ >+ > # Start of pre-makefile section. > .if !defined(AFTERPORTMK) > >@@ -965,6 +985,7 @@ > CUT?= /usr/bin/cut > DC?= /usr/bin/dc > DIALOG?= /usr/bin/dialog >+DIFF?= /usr/bin/diff > DIRNAME?= /usr/bin/dirname > EGREP?= /usr/bin/egrep > EXPR?= /bin/expr
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 85488
: 56618