bsdzone BSDZone - FreeBSD help, how-to guides, and articles.

  [ Home ]   [ Current News ]   [ Howto Archive ]   [ Books ]   [ Search ]   [ Links ]   [ Contact ]  [ About ]  


Port Settings
Ports - 12 Jan 06

Retain configure options of a port with portupgrade.

If you are like me, and you customize the make options of ports that you install, then you have probably used portupgrade and things stopped working.

If you can remember… set your configure options for each custom compiled port in /usr/local/etc/pkgtools.conf.

The relevant sample section is below.

# To specify multiple arguments for each port, use one of the
# following:
#
# MAKE_ARGS = {
# # a) Separate them with the space
# ‘databases/mysql41-*’ => ‘WITH_LINUXTHREADS=1 SKIP_DNS_CHECK=1′,
#
# # b) Specify them using an array
# ‘databases/mysql41-*’ => [
# ‘WITH_LINUXTHREADS=1′,
# ‘SKIP_DNS_CHECK=1′,
# ],
# }


Leave a Reply