[73027] trunk/dports/lang/sbcl/Portfile
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Fri Nov 12 06:24:43 PST 2010
> Logically I agree that your request makes sense, but I need some
> conceptual help here due to my limited knowledge of Portfiles. The
> 'html' variant works by patching the SBCL source to not install the
> full documentation. The 'pdf' variant needs this code not to be
> patched to execute. I didn't see a way to temporally order the
> execution of variant code-blocks, so I didn't know how to guarantee
> the 'pdf' variant always "undoes" the patch if both variants are
> specified. If there is no way to temporally order variant clauses,
> I guess the way around this is to find a Portfile phase after all
> the variants have been executed to cleanup the corner cases.
>
> With my submission of the sbcl-1.0.44 update yesterday, the 'html'
> variant is no longer the default.
>
> How would the "grayer beards" than mine of MacPorts suggest I tackle
> Ryan's suggestion?
You might simply set the two variants as conflicting.
variant X conflicts Y description {Z} { ... }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3749 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20101112/268fb179/attachment.bin>
More information about the macports-dev
mailing list