--- - branch: MAIN date: Thu Apr 25 14:32:26 UTC 2024 files: - new: '1.11' old: '1.10' path: pkgsrc/mk/termcap.builtin.mk pathrev: pkgsrc/mk/termcap.builtin.mk@1.11 type: modified id: 20240425T143226Z.1d02f1cca1132258812dc9cd5a5f6b142eb59604 log: | mk: fix termcap/terminfo detection issue when both are builtin Both termcap.builtin.mk and terminfo.builtin.mk used the same variable H_TERM for BUILTIN_FIND_HEADERS_VAR. This for some reason causes the logic to trip up in a specific scenario: when termcap.buildlink3.mk is included before terminfo.buildlink3.mk. When termcap was introduced as a dependency in audio/lame/buildlink3.mk in r1.12, then audio/libsndfile incorrectly started to depend on ncurses on NetBSD. Fix this by using a different variable name for the builtin detection. module: pkgsrc subject: 'CVS commit: pkgsrc/mk' unixtime: '1714055546' user: tnn