From d0f0e0bd741af867582ceede8ac1b0aec90eae2d Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 13 Oct 2021 14:40:26 +0200 Subject: [PATCH] rtld: Do not install libmap.conf when installing the COMPAT32 version This has the effect of installing the same file twice at the same location and confuse pkgbase as we add this file twice in the package config part. MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG --- libexec/rtld-elf/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index db1bf70ca59..1f3df176992 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -14,7 +14,9 @@ MK_ASAN= no MK_SSP= no MK_UBSAN= no +.if !defined(NEED_COMPAT) CONFS= libmap.conf +.endif PROG?= ld-elf.so.1 .if (${PROG:M*ld-elf32*} != "") TAGS+= lib32