Robert Clausecker 1c392f5022 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
2026-02-04 13:41:15 +01:00

29 lines
640 B
Makefile

PORTNAME= libxcrypt
DISTVERSION= 4.5.2
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/besser82/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Extended crypt library for descrypt, md5crypt, bcrypt, and others
WWW= https://github.com/besser82/libxcrypt
LICENSE= LGPL21
USES= gmake libtool pathfix perl5 tar:xz
USE_PERL5= build
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CFLAGS+= -Wno-gnu-statement-expression
INSTALL_TARGET= install-strip
TEST_TARGET= check
CONFIGURE_ARGS= --disable-static \
--disable-xcrypt-compat-files \
--enable-obsolete-api=no
.include <bsd.port.mk>