Created attachment 457886 [details, diff] Patch to Makefile.PL For a while now if you try and build media-tv/xmltv with a subset of the drivers (e.g sd_json only) it will fail to build the correct item because Makefile.PL creates a makefile which skips options which don't have the requisite dependencies installed. This means that when make is run, you get a different number of prompts depending on which perl modules are installed, so the 'one size fits all' yes/no answers answer the wrong questions. Attached is a patch against Makefile.PL which seems to work in my config and a proposed 'r1' ebuild which I'm using here.
Created attachment 457888 [details] Draft ebuild which uses patch
I haven't checked if the dependencies in the existing ebuild correctly match the perl prerequisites I commented out in the makefile patch. They seem to work for sd_json however...
Seems to have been resolved with by xmltv-0.5.70. (zz_sdjson) The ebuild now lists missing dependencies rather than skipping prompts. I guess this was an upstream change.
I did the bump but I didn't change anything in this regard, except to remove the old commented out entries because the list was getting long and confusing. I don't think upstream changed anything either. Perhaps the list was out of sync when you tried it the first time. Even if it is correct now, the whole thing is very brittle and a better method is desirable. Unfortunately I didn't end up using xmltv as my OTA data is better.