The pkg.m4 file that is distributed with pkgconf is under GPL-2+ license: https://github.com/pkgconf/pkgconf/blob/1d37e711cefe83e6b5393b424af4c94da4e7e9d3/pkg.m4#L7-L18 But the ebuild does not list it under LICENSE. Reproducible: Always
More specifically, it's the "with-autoconf-exception" variety. Gentoo appears to only have the licenses/GPL-3+-with-autoconf-exception at the moment.
Yes, in general, if going to file a bug like this, I'd link to the whole section, not part of it... Anyway, that is: """ dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, see <https://www.gnu.org/licenses/>. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a dnl configuration script generated by Autoconf, you may include it under dnl the same distribution terms that you use for the rest of that dnl program. """