<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">How can I find out that the file</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">/opt/local/etc/ports/variants.conf</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">is used - these should be globaly defined variants,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">but I can't see if its used or not....</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This has to be activated in ports.conf first.</DIV> </BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV>I have the same question.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have configured in ports.conf like below:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> 20 # Where to find global variants definition file (optional)</DIV><DIV> 21 variants_conf       /opt/local/etc/ports/variants.conf</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>And, I added two variants, +multibyte, +ruby in /opt/local/etc/ports/variants.conf</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> 12 # Example:</DIV><DIV> 13 # +ipv6 +no_x11</DIV><DIV> 14 +multibyte +ruby</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>BUT, I cannot see that variants are used.</DIV><DIV>For example, when I try to build VIM, just type "port -vd install vim", the result is </DIV><DIV>---------------------------------------</DIV><DIV>Coffee:~ jenix$ sudo port -vd install vim</DIV><DIV>Password:</DIV><DIV>DEBUG: Found port in <A href="file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/editors/vim">file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/editors/vim</A></DIV><DIV>DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/editors/vim</DIV><DIV>DEBUG: Requested variant darwin is not provided by port vim.</DIV><DIV>DEBUG: Requested variant i386 is not provided by port vim.</DIV><DIV>DEBUG: Requested variant macosx is not provided by port vim.</DIV><DIV>DEBUG: Executing variant darwin_i386 provides darwin_i386</DIV><DIV>DEBUG: Found port in <A href="file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gettext">file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gettext</A></DIV><DIV>---------------------------------------</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>there is no any variants used.</DIV><DIV>BUT, when I try to build VIM with "port -vd install vim +multibyte +ruby",</DIV><DIV>---------------------------------------</DIV><DIV>Coffee:~ jenix$ sudo port -vd install vim +multibyte +ruby</DIV><DIV>DEBUG: Found port in <A href="file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/editors/vim">file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/editors/vim</A></DIV><DIV>DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/editors/vim</DIV><DIV>DEBUG: Requested variant darwin is not provided by port vim.</DIV><DIV>DEBUG: Requested variant i386 is not provided by port vim.</DIV><DIV>DEBUG: Requested variant macosx is not provided by port vim.</DIV><DIV>DEBUG: Executing variant multibyte provides multibyte</DIV><DIV>DEBUG: Executing variant ruby provides ruby</DIV><DIV>DEBUG: Executing variant darwin_i386 provides darwin_i386</DIV><DIV>---------------------------------------</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You can see that ruby, multibyte variants have been activated.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>What's wrong with me? Could you give me any advice?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: AppleGothic; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>---------------------------------------</DIV><DIV>Park, Jin Hyung</DIV><DIV><A href="mailto:jenix@jinhyung.org">jenix@jinhyung.org</A></DIV><DIV><A href="http://jinhyung.org">http://jinhyung.org</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>