FreeBSD Bugzilla – Attachment 151456 Details for
Bug 196590
Feature request: add patch-list target
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-list
patch-list.diff (text/plain), 2.23 KB, created by
Vsevolod Stakhov
on 2015-01-07 13:36:06 UTC
(
hide
)
Description:
patch-list
Filename:
MIME Type:
Creator:
Vsevolod Stakhov
Created:
2015-01-07 13:36:06 UTC
Size:
2.23 KB
patch
obsolete
>Index: bsd.port.mk >=================================================================== >--- bsd.port.mk (revision 376458) >+++ bsd.port.mk (working copy) >@@ -677,6 +677,10 @@ > # - Show all directories which are run-dependencies > # for this port. > # >+# patch-list >+# - Show all patches that are going to be applied for >+# this port >+# > # extract - Unpacks ${DISTFILES} into ${WRKDIR}. > # patch - Apply any provided patches to the source. > # configure - Runs either GNU configure, one or more local configure >@@ -3864,6 +3868,46 @@ > @cd ${.CURDIR} && ${MAKE} ${PATCH_SILENT} PATCH_CHECK_ONLY=yes ${_PATCH_DEP} ${_PATCH_REAL_SEQ} > .endif > >+# Patches list >+# >+# Special target to show patches >+ >+.if !target(patch-list) >+patch-list: config-conditional >+.if defined(PATCHFILES) >+ @(set -e; \ >+ cd ${_DISTDIR}; \ >+ for i in ${_PATCHFILES}; do \ >+ ${ECHO_MSG} "$$i" ; \ >+ done ) >+.endif >+.if defined(EXTRA_PATCHES) >+ @set -e ; \ >+ for i in ${EXTRA_PATCHES}; do \ >+ case $$i in \ >+ *:-p[0-9]) patch_file=$${i%:*} ; patch_strip=$${i##*:} ;; \ >+ *) patch_file=$$i ;; \ >+ esac ; \ >+ ${ECHO_MSG} "$$patch_file" ; \ >+ done >+.endif >+ @set -e ;\ >+ if [ -d ${PATCHDIR} ]; then \ >+ if [ "`${ECHO_CMD} ${PATCHDIR}/patch-*`" != "${PATCHDIR}/patch-*" ]; then \ >+ for i in ${PATCHDIR}/patch-*; do \ >+ case $$i in \ >+ *.orig|*.rej|*~|*,v) \ >+ ${ECHO_MSG} "===> Ignoring patchfile $$i" ; \ >+ ;; \ >+ *) \ >+ ${ECHO_MSG} "$$i" ; \ >+ ;; \ >+ esac; \ >+ done; \ >+ fi; \ >+ fi >+.endif >+ > # Reinstall > # > # Special target to re-run install
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 196590
:
151456
|
151465