git: 280f70074cba - 2024Q1 - devel/ivykis: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Jan 2024 17:58:04 UTC
The branch 2024Q1 has been updated by dim:
URL: https://cgit.FreeBSD.org/ports/commit/?id=280f70074cba4fcfe8b6ceb4f78ea1db2580877b
commit 280f70074cba4fcfe8b6ceb4f78ea1db2580877b
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-01-10 17:52:00 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-01-10 17:55:38 +0000
devel/ivykis: fix build with lld 17
The linker version script libivykis.posix.ver refers to several inotify
related functions, which are never used on FreeBSD since we do not
support the inotity interface. This causes errors with lld 17, so add a
post-patch that deletes the undefined symbols from the linker script.
PR: 273753
MFH: 2024Q1
(cherry picked from commit 05917d340dee6d2bf02463af53372f2da2ecab00)
---
devel/ivykis/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devel/ivykis/Makefile b/devel/ivykis/Makefile
index 0e189d3321ee..dac35d5c5cf0 100644
--- a/devel/ivykis/Makefile
+++ b/devel/ivykis/Makefile
@@ -1,6 +1,7 @@
PORTNAME= ivykis
DISTVERSIONPREFIX= v
DISTVERSION= 0.42.4
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= algernon@madhouse-project.org
@@ -19,4 +20,7 @@ GH_ACCOUNT= buytenh
INSTALL_TARGET= install-strip
+post-patch:
+ ${REINPLACE_CMD} -e '/iv_inotify/d' ${WRKSRC}/libivykis.posix.ver
+
.include <bsd.port.mk>