|
Lines 677-682
Link Here
|
| 677 |
# - Show all directories which are run-dependencies |
677 |
# - Show all directories which are run-dependencies |
| 678 |
# for this port. |
678 |
# for this port. |
| 679 |
# |
679 |
# |
|
|
680 |
# patch-list |
| 681 |
# - Show all patches that are going to be applied for |
| 682 |
# this port |
| 683 |
# |
| 680 |
# extract - Unpacks ${DISTFILES} into ${WRKDIR}. |
684 |
# extract - Unpacks ${DISTFILES} into ${WRKDIR}. |
| 681 |
# patch - Apply any provided patches to the source. |
685 |
# patch - Apply any provided patches to the source. |
| 682 |
# configure - Runs either GNU configure, one or more local configure |
686 |
# configure - Runs either GNU configure, one or more local configure |
|
Lines 3864-3869
Link Here
|
| 3864 |
@cd ${.CURDIR} && ${MAKE} ${PATCH_SILENT} PATCH_CHECK_ONLY=yes ${_PATCH_DEP} ${_PATCH_REAL_SEQ} |
3868 |
@cd ${.CURDIR} && ${MAKE} ${PATCH_SILENT} PATCH_CHECK_ONLY=yes ${_PATCH_DEP} ${_PATCH_REAL_SEQ} |
| 3865 |
.endif |
3869 |
.endif |
| 3866 |
|
3870 |
|
|
|
3871 |
# Patches list |
| 3872 |
# |
| 3873 |
# Special target to show patches |
| 3874 |
|
| 3875 |
.if !target(patch-list) |
| 3876 |
patch-list: config-conditional |
| 3877 |
.if defined(PATCHFILES) |
| 3878 |
@(set -e; \ |
| 3879 |
for i in ${_PATCHFILES}; do \ |
| 3880 |
${ECHO_MSG} "$$i" ; \ |
| 3881 |
done ) |
| 3882 |
.endif |
| 3883 |
.if defined(EXTRA_PATCHES) |
| 3884 |
@set -e ; \ |
| 3885 |
for i in ${EXTRA_PATCHES}; do \ |
| 3886 |
case $$i in \ |
| 3887 |
*:-p[0-9]) patch_file=$${i%:*} ; patch_strip=$${i##*:} ;; \ |
| 3888 |
*) patch_file=$$i ;; \ |
| 3889 |
esac ; \ |
| 3890 |
${ECHO_MSG} "$$patch_file" ; \ |
| 3891 |
done |
| 3892 |
.endif |
| 3893 |
@set -e ;\ |
| 3894 |
if [ -d ${PATCHDIR} ]; then \ |
| 3895 |
if [ "`${ECHO_CMD} ${PATCHDIR}/patch-*`" != "${PATCHDIR}/patch-*" ]; then \ |
| 3896 |
for i in ${PATCHDIR}/patch-*; do \ |
| 3897 |
case $$i in \ |
| 3898 |
*.orig|*.rej|*~|*,v) \ |
| 3899 |
${ECHO_MSG} "===> Ignoring patchfile $$i" ; \ |
| 3900 |
;; \ |
| 3901 |
*) \ |
| 3902 |
${ECHO_MSG} "$$i" ; \ |
| 3903 |
;; \ |
| 3904 |
esac; \ |
| 3905 |
done; \ |
| 3906 |
fi; \ |
| 3907 |
fi |
| 3908 |
.endif |
| 3909 |
|
| 3867 |
# Reinstall |
3910 |
# Reinstall |
| 3868 |
# |
3911 |
# |
| 3869 |
# Special target to re-run install |
3912 |
# Special target to re-run install |