mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
archivers/arj: fix build with clang 18
Clang 18 no longer accepts -export-dynamic, which is a linker option, resulting in an error building archivers/arj: cc: error: unknown argument: '-export-dynamic' Fix this by using the correct spelling, -Wl,--export-dynamic. PR: 276747 Approved by: garga (maintainer) MFH: 2024Q1
This commit is contained in:
parent
0faf1c2260
commit
f12119e85f
@ -1,6 +1,6 @@
|
||||
PORTNAME= arj
|
||||
PORTVERSION= 3.10.22
|
||||
PORTREVISION= 11
|
||||
PORTREVISION= 12
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022:source \
|
||||
DEBIAN_POOL:patch
|
||||
@ -61,6 +61,7 @@ post-patch:
|
||||
${WRKSRC}/arj.c ${WRKSRC}/file_reg.c ${WRKSRC}/rearj.c
|
||||
@${REINPLACE_CMD} -e 's!-O2!!' -e 's!ALIGN_POINTERS!&,1,desc!' \
|
||||
-e 's!USE_COLORS!&,1,desc!' -e '/LD_STRIP=/d' \
|
||||
-e 's|-export-dynamic|-Wl,--export-dynamic|' \
|
||||
${WRKSRC}/gnu/configure.in
|
||||
@${REINPLACE_CMD} -e 's!^static !!' ${WRKSRC}/integr.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user