Bug #343 » bsd.patch.mk.diff
share/mk/bsd.patch.mk Sat Oct 07 02:57:30 2006 +0000 → share/mk/bsd.patch.mk Sun Oct 08 21:06:07 2006 +0900 | ||
---|---|---|
.for _PSRC in ${SRCS:M*.no_obj.patch}
|
||
.for _PC in ${_PSRC:T:C/(\.no_obj)?\.patch$//:S|,|/|g}
|
||
.if !exists(${_PSRC})
|
||
.error non-existent patch file ${_PSRC}
|
||
.endif
|
||
${_PC}: _PATCHFILE ${CONTRIBDIR}/${_PC} ${_PSRC}
|
||
... | ... | |
.for _PSRC in ${SRCS:N*.no_obj.patch:M*.patch}
|
||
.for _PC in ${_PSRC:T:C/(\.no_obj)?\.patch$//:S|,|/|g}
|
||
.if !exists(${_PSRC})
|
||
.error non-existent patch file ${_PSRC}
|
||
.endif
|
||
${_PC}: _PATCHFILE ${CONTRIBDIR}/${_PC} ${_PSRC}
|
||