1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

security/libxcrypt: work around symbol alias issue

This port uses symbol aliases to provide certain legacy symbols.
Following commit 1c18eaf, symbol maps were reenabled, exposing that
these legacy symbols were never actually generated.

The project tries to generate legacy symbol aliases using
__attribute__((alias)), which seems to have no effect.
Sidestep this problem for now by disabling all legacy symbols.

Approved by:	portmgr (build fix blanket)
PR:		290822
Fixes:		1c18eaf913
This commit is contained in:
Robert Clausecker
2026-02-02 22:32:27 +01:00
parent e1297b118c
commit 1c392f5022
+4 -1
View File
@@ -1,5 +1,6 @@
PORTNAME= libxcrypt
DISTVERSION= 4.5.2
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/besser82/${PORTNAME}/releases/download/v${DISTVERSION}/
@@ -20,6 +21,8 @@ CFLAGS+= -Wno-gnu-statement-expression
INSTALL_TARGET= install-strip
TEST_TARGET= check
CONFIGURE_ARGS= --disable-static
CONFIGURE_ARGS= --disable-static \
--disable-xcrypt-compat-files \
--enable-obsolete-api=no
.include <bsd.port.mk>