zoneinfo: don't install version

The commit teaching the build to install tzdata.zi for libcxx also
instals version.  It turns out this makes at least one piece of third
party software cry: rubygem-tzinfo expects any file in zoneinfo to be at
least 44 bytes long.  Clearly this is a bug in rubygem-tzinfo but since
nothing actually uses version, we may as well not install it ... as we
did previously.

Reported by:	delphij
Fixes:		91506dba7f zoneinfo: also install tzdata.zi and version
MFC after:	1 day
This commit is contained in:
Philip Paeps 2025-05-21 17:15:50 +08:00
parent bbc0b39ef7
commit 23a0c88b03
2 changed files with 3 additions and 2 deletions

View file

@ -51,6 +51,9 @@
# xargs -n1 | sort | uniq -d;
# done
# 20250521: don't install zoneinfo version
OLD_FILES+=usr/share/zoneinfo/version
# 20250516: NDFREE(9) -> NDFREE_PNBUF(9)
OLD_FILES+=usr/share/man/man9/NDFREE.9.gz

View file

@ -127,8 +127,6 @@ install-zoneinfo:
${CONTRIBDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${CONTRIBDIR}/zone1970.tab ${DESTDIR}/usr/share/zoneinfo/
${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${CONTRIBDIR}/version ${DESTDIR}/usr/share/zoneinfo/
afterinstall:
#