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

Collapse All | Expand All

(-)Mk/Uses/linux.mk (-8 / +8 lines)
Lines 138-153 linux_xorglibs_DEP= linux-${linux_ARGS}-xorg-libs Link Here
138
138
139
USE_LINUX?=		base
139
USE_LINUX?=		base
140
.for i in ${USE_LINUX}
140
.for i in ${USE_LINUX}
141
_i:=			${i:C/\:.*//}
141
_${i}_port=		${i:C/\:.*//}
142
_i_args:=		${i:C/^[^\:]*(\:|\$)//:S/,/ /g}
142
_${i}_args=		${i:C/^[^\:]*(\:|\$)//:S/,/ /g}
143
.if ${_i_args:Mpatch}
143
.if ${_${i}_args:Mpatch}
144
PATCH_DEPENDS+=		${linux_${_i}_DEP}
144
PATCH_DEPENDS+=		${linux_${_${i}_port}_DEP}
145
.endif
145
.endif
146
.if ${_i_args:Mbuild}
146
.if ${_${i}_args:Mbuild}
147
BUILD_DEPENDS+=		${linux_${_i}_DEP}
147
BUILD_DEPENDS+=		${linux_${_${i}_port}_DEP}
148
.endif
148
.endif
149
.if ${_i_args:Mrun} || empty(_i_args)
149
.if ${_${i}_args:Mrun} || empty(_${i}_args)
150
RUN_DEPENDS+=		${linux_${_i}_DEP}
150
RUN_DEPENDS+=		${linux_${_${i}_port}_DEP}
151
.endif
151
.endif
152
.endfor
152
.endfor
153
153

Return to bug 211645