aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-09-22 10:19:22 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2023-09-22 10:21:05 +0000
commit97376a1dc91b250b311646e7e0d5bb223aa1014b (patch)
treeacfb63073d5ab97898e4891cc2f815d4582277e8
parent5eb74394530352404be32e70c489685ba31252d9 (diff)
downloadports-97376a1dc91b250b311646e7e0d5bb223aa1014b.tar.gz
ports-97376a1dc91b250b311646e7e0d5bb223aa1014b.zip
audio/lame: fix build with lld 17
No revision bump, this fix is not mandatory for non-failing builds. PR: 273995
-rw-r--r--audio/lame/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile
index 8d1c6542feb4..e315ea24e238 100644
--- a/audio/lame/Makefile
+++ b/audio/lame/Makefile
@@ -29,7 +29,9 @@ OPTIONS_DEFAULT=DOCS
post-patch:
# Fix parallel builds
@${REINPLACE_CMD} -e 's,test -d \.libs || mkdir,mkdir -p,' \
- ${WRKSRC}/libmp3lame/i386/Makefile.in
+ ${WRKSRC}/libmp3lame/i386/Makefile.ir
+# Remove undefined symbol from linker version script - XXX to be removed with lame 3.101
+ @${REINPLACE_CMD} -e '/lame_init_old/d' ${WRKSRC}/include/libmp3lame.sym
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmp3lame.so.0