Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 407597 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +24 lines)
Line  Link Here
0
-- text.xml
0
++ text.xml
Lines 208-214 Link Here
208
208
209
<p>
209
<p>
210
Sometimes two packages cannot be installed in parallel. This is handled by
210
Sometimes two packages cannot be installed in parallel. This is handled by
211
blockers. A blocker is specified as follows:
211
blockers. A softblocker is specified as follows:
212
</p>
212
</p>
213
213
214
<codesample lang="ebuild">
214
<codesample lang="ebuild">
Lines 216-222 Link Here
216
</codesample>
216
</codesample>
217
217
218
<p>
218
<p>
219
Note that blockers are usually <e>runtime</e> rather than buildtime.
219
Portage will try to resolve this conflict automatically if possible. 
220
Sometimes we need to use a hardblocker to ensure correct emerge order. 
221
Those cannot be resolved by Portage and must be taken care of by the user.
222
A hardblocker is specified as follows:
223
</p>
224
225
<codesample lang="ebuild">
226
RDEPEND="!!app-misc/foo"
227
</codesample>
228
229
<p>
230
Hardblockers always take precedence over softblockers and need at least EAPI="2".
231
Also note that blockers are usually <e>runtime</e> rather than buildtime.
220
</p>
232
</p>
221
233
222
<p>
234
<p>
Lines 267-272 Link Here
267
    gtk? ( x11-libs/gtk+:2 )
279
    gtk? ( x11-libs/gtk+:2 )
268
</codesample>
280
</codesample>
269
281
282
<p>
283
To depend on a specific version or version-range within a SLOT we use:
284
</p>
285
286
<codesample lang="ebuild">
287
DEPEND="qt3? ( ~x11-libs/qt-3.3.8:3 )
288
    gtk? ( >=x11-libs/gtk+-2.24.9:2 )
289
</codesample>
290
270
</body>
291
</body>
271
</section>
292
</section>
272
293

Return to bug 407597