Solved How to specify pkg options when installing?

I feel really stupid after half hour of googling and looking at the pkg(8) man page, I cannot figure out how to enable an option for a specific package.

Example:
Code:
andy@fatboy] /home/andy# pkg info mythtv
mythtv-0.27.0.20140121_6
Name           : mythtv
Version        : 0.27.0.20140121_6
Installed on   : Wed Feb 25 01:18:24 UTC 2015
Origin         : multimedia/mythtv
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : multimedia
Licenses       :
Maintainer     : decke@FreeBSD.org
WWW            : http://www.mythtv.org
Comment        : MythTV is a homebrew PVR project
Options        :
    BINDINGS       : on
    LIRC           : on
    MYSQL          : off
    OPENGL         : on
    VDPAU          : on
How do you enable MYSQL and disable OPENGL? Isn't that some thing so uncommon that none of the Wiki and man page mentioned it?
 
You should not want what you cannot. Port options can only be set if you compile from source. The packages you have downloaded are compiled binaries with the default options. If you need to work with packages that have custom options set you can do this using ports-mgmt/poudriere.
 
Quick question: does the default option of MySQL = off imply that the MythTV package isn't usable?
Code:
root@tv# pkg info mythtv | head -20
mythtv-0.27.5.20150616_1
Name           : mythtv
Version        : 0.27.5.20150616_1
Installed on   : Fri Sep 30 23:25:14 2016 CEST
Origin         : multimedia/mythtv
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : multimedia
Licenses       :
Maintainer     : decke@FreeBSD.org
WWW            : http://www.mythtv.org
Comment        : MythTV is a homebrew PVR project
Options        :
   BINDINGS       : on
   LIRC           : off
   MYSQL          : off
   OPENGL         : on
   VDPAU          : on
Shared Libs required:
   libQtGui.so.4
 
Back
Top