Problem is that variables are not honoured when set/unset when they should be: # make showconfig ===> The following configuration options are available for cyrus-sasl-gssapi-2.1.26_3: ====> Kerberos support: you have to select exactly one of them BASE=on: Use Heimdal in base HEIMDAL=off: Use Heimdal from ports MIT=off: Use MIT Kerberos V5 ===> Use 'make config' to modify these settings However these are set in make.conf as demonstrated cd /usr/ports/security/cyrus-sasl2-gssapi && make -Vsecurity_cyrus-sasl-gssapi_UNSET -Vsecurity_cyrus-sasl-gssapi_SET showconfig BASE HEIMDAL That is BASE is UNSET and HEIMDAL is SET, because I want to use the heimdal port.
It seems working well here with following lines in my make.conf: security_cyrus-sasl2-gssapi_SET=HEIMDAL security_cyrus-sasl2-gssapi_UNSET=BASE It seems you set security_cyrus-sasl-gssapi_(UN)?SET. Since the PKGORIGIN of cyrus-sasl2-gssapi is security/cyrus-sasl2-gssapi, you need to set security_cyrus-sasl-gssapi_(UN)?SET.
Oops, typo. You need to set security_cyrus-sasl2-gssapi_(UN)?SET.
(In reply to Hajimu UMEMOTO from comment #2) True, but we use automated scripts to manage the port options settings. As such the "problem" is: # pwd /usr/ports/security/cyrus-sasl2-gssapi # make -V PKGBASE cyrus-sasl-gssapi Please NOTE that it doesn't have cyrus-sasl2-gssapi which make -V UNIQUENAME used to produce, and which make -V PKGBASE should Similarly # cd /usr/ports/security/cyrus-sasl2 # make -V PKGBASE cyrus-sasl # make -V UNIQUENAME # Something is definately broken or changed and not in /usr/ports/UPDATING for cyrus-sasl. I examined other ports that contained numbers and they function as expected, one example: # cd /usr/ports/net/isc-dhcp43-server && make -V PKGBASE isc-dhcp43-server
(In reply to Phil from comment #3) The "fix" for cyrus-sasl2-gssapi --- Makefile.broken 2015-09-12 19:11:11.000000000 +1000 +++ Makefile 2015-09-12 19:11:11.000000000 +1000 @@ -6,7 +6,7 @@ CATEGORIES= security ipv6 MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-sasl/ \ http://cyrusimap.org/releases/ -PKGNAMEPREFIX= cyrus-sasl- +PKGNAMEPREFIX= cyrus-sasl2- DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION} MAINTAINER= ume@FreeBSD.org Similarly for security/cyrus-sasl2
A commit references this bug: Author: ume Date: Thu Oct 1 15:58:09 UTC 2015 New revision: 398328 URL: https://svnweb.freebsd.org/changeset/ports/398328 Log: Sync package name with origin. PR: 202756 Changes: head/security/cyrus-sasl2/Makefile head/security/cyrus-sasl2-gssapi/Makefile head/security/cyrus-sasl2-ldapdb/Makefile head/security/cyrus-sasl2-saslauthd/Makefile
I think there is no such rule to be in sync package name with origin. However, it is better to sync them. So, I've just commit the changes. Thank you for the suggestion.