[42969] trunk/dports/lang/swi-prolog-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Dec 2 16:50:23 PST 2008
Revision: 42969
http://trac.macports.org/changeset/42969
Author: ryandesign at macports.org
Date: 2008-12-02 16:50:22 -0800 (Tue, 02 Dec 2008)
Log Message:
-----------
swi-prolog-devel: +st and +mt variants conflict, and +mt should only be the default if the user has not already selected +st. Also added descriptions for these variants. See #16964.
Modified Paths:
--------------
trunk/dports/lang/swi-prolog-devel/Portfile
Modified: trunk/dports/lang/swi-prolog-devel/Portfile
===================================================================
--- trunk/dports/lang/swi-prolog-devel/Portfile 2008-12-03 00:37:49 UTC (rev 42968)
+++ trunk/dports/lang/swi-prolog-devel/Portfile 2008-12-03 00:50:22 UTC (rev 42969)
@@ -48,9 +48,15 @@
CPPFLAGS=-I${prefix}/include \
CIFLAGS=-I${prefix}/include
-default_variants +mt
+if {![variant_isset st]} {
+ default_variants +mt
+}
-variant st { configure.args-append --disable-mt}
+variant st conflicts mt description {Single-threaded} {
+ configure.args-append --disable-mt
+}
-variant mt { configure.args-append --enable-mt}
+variant mt conflicts st description {Multi-threaded (default)} {
+ configure.args-append --enable-mt
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081202/1fbfacef/attachment.html>
More information about the macports-changes
mailing list