aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2024-01-10 17:52:00 +0000
committerDimitry Andric <dim@FreeBSD.org>2024-01-10 17:55:38 +0000
commit280f70074cba4fcfe8b6ceb4f78ea1db2580877b (patch)
tree17909a7fc0455481a45cbfb43d5a12e72bb70291
parent4400e586a5de3b8cda1685d9a479c3a7e06032d1 (diff)
downloadports-280f70074cba4fcfe8b6ceb4f78ea1db2580877b.tar.gz
ports-280f70074cba4fcfe8b6ceb4f78ea1db2580877b.zip
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)
-rw-r--r--devel/ivykis/Makefile4
1 files changed, 4 insertions, 0 deletions
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>