How can I find out that the file /opt/local/etc/ports/variants.conf is used - these should be globaly defined variants, but I can't see if its used or not....
This has to be activated in ports.conf first.
I have the same question. I have configured in ports.conf like below: 20 # Where to find global variants definition file (optional) 21 variants_conf /opt/local/etc/ports/variants.conf And, I added two variants, +multibyte, +ruby in /opt/local/etc/ports/ variants.conf 12 # Example: 13 # +ipv6 +no_x11 14 +multibyte +ruby BUT, I cannot see that variants are used. For example, when I try to build VIM, just type "port -vd install vim", the result is --------------------------------------- Coffee:~ jenix$ sudo port -vd install vim Password: DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/editors/vim DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/editors/vim DEBUG: Requested variant darwin is not provided by port vim. DEBUG: Requested variant i386 is not provided by port vim. DEBUG: Requested variant macosx is not provided by port vim. DEBUG: Executing variant darwin_i386 provides darwin_i386 DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/devel/gettext --------------------------------------- there is no any variants used. BUT, when I try to build VIM with "port -vd install vim +multibyte +ruby", --------------------------------------- Coffee:~ jenix$ sudo port -vd install vim +multibyte +ruby DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/editors/vim DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/editors/vim DEBUG: Requested variant darwin is not provided by port vim. DEBUG: Requested variant i386 is not provided by port vim. DEBUG: Requested variant macosx is not provided by port vim. DEBUG: Executing variant multibyte provides multibyte DEBUG: Executing variant ruby provides ruby DEBUG: Executing variant darwin_i386 provides darwin_i386 --------------------------------------- You can see that ruby, multibyte variants have been activated. What's wrong with me? Could you give me any advice? --------------------------------------- Park, Jin Hyung jenix@jinhyung.org http://jinhyung.org