aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2026-02-02 21:32:27 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2026-02-04 12:41:15 +0000
commit1c392f50221bba1802fa73b3f266d92f0e94e5fa (patch)
treed77ab57d7e5430e5219fea87a0177428fa1ca3d9
parente1297b118c8c489cea2a738d09a96445add8021e (diff)
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: 1c18eaf913051e7e2503f05d438cc1636d66e554
-rw-r--r--security/libxcrypt/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/libxcrypt/Makefile b/security/libxcrypt/Makefile
index ec3c9f6d9755..6faa416e3834 100644
--- a/security/libxcrypt/Makefile
+++ b/security/libxcrypt/Makefile
@@ -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>