CVS log for pkgsrc/mk/termcap.builtin.mk
Up to [cvs.NetBSD.org] / pkgsrc / mk
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Apr 25 14:32:26 2024 UTC (2 years, 6 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2,
pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2,
pkgsrc-2025Q1-base,
pkgsrc-2025Q1,
pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -6
lines
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.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Nov 23 09:10:14 2013 UTC (12 years, 11 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5
lines
Use find-headers instead of find-files to detect builtin header files.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jun 17 05:44:27 2013 UTC (13 years, 5 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -6
lines
Change condition of builtin termcap detection to same as termcap implementation
detection, so that `term fuction is in libc' and `only shlib, no development
environment' will be handled correctly.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Oct 31 03:28:40 2012 UTC (14 years ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
Add closing "]".
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Feb 7 09:46:14 2010 UTC (16 years, 9 months ago) by roy
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -4
lines
Add builtin for working out if we have terminfo installed natively.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 20 19:25:01 2009 UTC (17 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Mar 11 15:39:16 2008 UTC (18 years, 8 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +37 -11
lines
Improve the detection of the library that contains the built-in termcap.
Instead of just looking at the libraries, we check for the headers as
well, and if multiple implementations exist (usually because of symlinks
to shared libraries), then we order the search as:
tinfo, curses, termcap, termlib, c
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Mar 5 16:23:52 2008 UTC (18 years, 8 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -32
lines
+ Fix error in previous commit -- too much of the termcap buildlink
code was moved to the builtin.mk file. The buildlink3.mk file should
contain the bits that always apply to all packages that include it.
The builtin.mk file should include the bits that only apply if
"termcap" is listed in ${BUILDLINK_PACKAGES} (this isn't the case
if we use curses to replace termcap). As such, redistribute the
code as follows:
+ Move the parts that remove -l options for terminal libraries we
don't support, as well as for transforming "-ltermcap" into the
appropriate libraries, from the builtin.mk back into the
buildlink3.mk.
+ Leave the parts the remove -lcurses and -lncurses in the
builtin.mk. We can remove the ${TERMCAP_TYPE} == "curses" check
since that part of the file is protected by CHECK_BUILTIN.termcap,
so it should only be triggered if "termcap" is in BUILDLINK_PACKAGES,
which only happens if ${TERMCAP_TYPE} isn't "curses".
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Mar 5 07:10:26 2008 UTC (18 years, 8 months ago) by jlam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +37 -2
lines
+ Only remove -lcurses and -lncurses in BUILDLINK_TRANSFORM if the
package does not use either curses or ncurses. We determine this
by inspecting BUILDLINK_PACKAGES and looking for "curses" and
"ncurses".
+ Because the above logic uses BUILDLINK_PACKAGES, the code must be
moved from termcap.buildlink3.mk into termcap.builtin.mk where it
is safe to inspect BUILDLINK_PACKAGES.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 2 07:05:28 2008 UTC (18 years, 8 months ago) by jlam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +14 -5
lines
+ Teach buildlink3.mk to cause GNU configure script to not find any other
terminal library other than the one we specify.
+ Also look for "termlib" as some systems have that. Note that we need to
make the library search more sophisticated to work correctly on more
exotic platforms.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Feb 29 22:41:13 2008 UTC (18 years, 8 months ago) by jlam
Branches: MAIN
Rename termlib.* to termcap.* to better document exactly what packages
are trying to use (the termcap t*() API).
CVSweb <webmaster@jp.NetBSD.org>