View | Details | Raw Unified | Return to bug 196590 | Differences between
and this patch

Collapse All | Expand All

(-)bsd.port.mk (working copy) (+44 lines)
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
       cd ${_DISTDIR}; \
3880
       for i in ${_PATCHFILES}; do \
3881
               ${ECHO_MSG} "$$i" ; \
3882
       done )
3883
.endif
3884
.if defined(EXTRA_PATCHES)
3885
       @set -e ; \
3886
       for i in ${EXTRA_PATCHES}; do \
3887
               case $$i in \
3888
               *:-p[0-9]) patch_file=$${i%:*} ; patch_strip=$${i##*:} ;; \
3889
               *) patch_file=$$i ;; \
3890
               esac ; \
3891
               ${ECHO_MSG} "$$patch_file" ; \
3892
       done
3893
.endif
3894
       @set -e ;\
3895
       if [ -d ${PATCHDIR} ]; then \
3896
               if [ "`${ECHO_CMD} ${PATCHDIR}/patch-*`" != "${PATCHDIR}/patch-*" ]; then \
3897
                       for i in ${PATCHDIR}/patch-*; do \
3898
                               case $$i in \
3899
                                       *.orig|*.rej|*~|*,v) \
3900
                                               ${ECHO_MSG} "===>   Ignoring patchfile $$i" ; \
3901
                                               ;; \
3902
                                       *) \
3903
                                               ${ECHO_MSG} "$$i" ; \
3904
                                               ;; \
3905
                               esac; \
3906
                       done; \
3907
               fi; \
3908
       fi
3909
.endif
3910
3867
# Reinstall
3911
# Reinstall
3868
#
3912
#
3869
# Special target to re-run install
3913
# Special target to re-run install

Return to bug 196590