<commit_before># $FreeBSD$

DISTRIBUTION=	compat4x

LIBCOMPATDIR=	${LIBDIR}/compat

LIBS=	\
	libc.so.4 \
	libc_r.so.4 \
	libcrypto.so.1 \
	libdialog.so.4 \
	libedit.so.3 \
	libfetch.so.2 \
	libftpio.so.5 \
	libhistory.so.4 \
	libncurses.so.5 \
	libreadline.so.4 \
	libssl.so.1 \
	libstdc++.so.3 \
	libutil.so.3 \
	libwrap.so.3 \
	libxpg4.so.3

CLEANFILES+=	${LIBS}

all:	${LIBS}

.for lib in ${LIBS}
${lib}:	${lib}.gz.uu
	uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib}
.endfor

beforeinstall:
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
		${DESTDIR}${LIBCOMPATDIR}

# Get all the fruit, even though we don't set PROG.
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
.include <bsd.prog.mk><commit_msg>Remove these libs that are the same .so version as the ones in 5-CURRENT.  These libs will not be used [sitting in /usr/lib/compat] as the -current ones in /usr/lib will be found first by ld-elf.so.1.<commit_after># $FreeBSD$

DISTRIBUTION=	compat4x

LIBCOMPATDIR=	${LIBDIR}/compat

LIBS=	\
	libc.so.4 \
	libc_r.so.4 \
	libcrypto.so.1 \
	libssl.so.1

CLEANFILES+=	${LIBS}

all:	${LIBS}

.for lib in ${LIBS}
${lib}:	${lib}.gz.uu
	uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib}
.endfor

beforeinstall:
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
		${DESTDIR}${LIBCOMPATDIR}

# Get all the fruit, even though we don't set PROG.
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
.include <bsd.prog.mk>
{'fraction_non_alphanumeric': 0.18036072144288579, 'fraction_numerical': 0.01603206412825651, 'mean_word_length': 3.219718309859155, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6867131', 'n_tokens_mistral': 696, 'n_tokens_neox': 671, 'n_words': 166}