Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2024 06:31:45 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Gleb Popov <arrowd@freebsd.org>
Cc:        "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
Subject:   Re: In some places, WITH_${feature}_PORTS doesn't work
Message-ID:  <SI2PR01MB5036545DADEF96C62C97F3E5FA052@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
In-Reply-To: <CALH631=d3XuYXqFQf6e73-saSm1-o7LhVQ41thuGG328mfqk0g@mail.gmail.com>
References:  <SI2PR01MB5036300AACCBCAE6FF4A9E44FA052@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <CALH631m9g%2BonVYD1do2grMj2LCC2prNbQZriog9TL=XzEBWQQQ@mail.gmail.com> <SI2PR01MB50365398DB2B37D3CDEB3994FA052@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <CALH631=d3XuYXqFQf6e73-saSm1-o7LhVQ41thuGG328mfqk0g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gleb Popov wrote on 2024/04/12 02:57:
> Should be fixed now by
> https://cgit.FreeBSD.org/ports/commit/?id=665b0219e541019b849fd5a1efdf032081dcf610

Thank you very much.

This would mean that there is more support for the use of _WITH_${feature} and _WITHOUT_${feature} in the future.
It is expected that an underscore should be added before the variable WITH, i.e., if the following part is present in individual ports.

.include <bsd.port.pre.mk>
.ifdef _WITH_DEBUG
.error exit by make conditional because _WITH_DEBUG is defined
.endif
.include <bsd.port.post.mk>

Let's leave the search for such ports to those who have thought to debug them :)

Regards.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR01MB5036545DADEF96C62C97F3E5FA052>