On Jan 27, 2009, at 22:12, Ryan Schmidt wrote:

On Jan 27, 2009, at 15:24, [email protected] wrote:

-default_variants        +docs
-
-variant docs description "Install documentation" {
-    depends_lib             port:doxygen
-    configure.args-append   -DBUILD_doc=ON
+variant no_docs description "Does not install documentation" {
+    depends_lib-delete      port:doxygen
+    configure.args-delete   -DBUILD_doc=ON
+    configure.args-append   -DBUILD_doc=OFF
 }

Remember, variant descriptions should read like radio buttons. So "Don't install documentation" or "Omit documentation" would be preferable to "Does not install documentation".


I fixed it in r46411.

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to