def METHOD_NAME(self):
    self.cpp_info.components["bsd"].libs = ["bsd"]
    self.cpp_info.components["bsd"].set_property("pkg_config_name", "libbsd")
    self.cpp_info.components["libbsd-overlay"].libs = []
    self.cpp_info.components["libbsd-overlay"].requires = ["bsd"]
    self.cpp_info.components["libbsd-overlay"].includedirs.append(os.path.join("include", "bsd"))
    self.cpp_info.components["libbsd-overlay"].defines = ["LIBBSD_OVERLAY"]
    self.cpp_info.components["libbsd-overlay"].set_property("pkg_config_name", "libbsd-overlay")
    # on apple-clang, GNU .init_array section is not supported
    if self.settings.compiler != "apple-clang":
        self.cpp_info.components["libbsd-ctor"].libs = ["bsd-ctor"]
        self.cpp_info.components["libbsd-ctor"].requires = ["bsd"]
        if self.settings.os == "Linux":
            self.cpp_info.components["libbsd-ctor"].exelinkflags = ["-Wl,-z,nodlopen", "-Wl,-u,libbsd_init_func"]
            self.cpp_info.components["libbsd-ctor"].sharedlinkflags = ["-Wl,-z,nodlopen", "-Wl,-u,libbsd_init_func"]
        self.cpp_info.components["libbsd-ctor"].set_property("pkg_config_name", "libbsd-ctor")