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:23 +0000
commit05917d340dee6d2bf02463af53372f2da2ecab00 (patch)
treebb80c779d45fc90fdd081f7114050912fb896a03
parent1b7d48d36ccbf2744e630423f5f99cfa89b1d644 (diff)
downloadports-05917d340dee6d2bf02463af53372f2da2ecab00.tar.gz
ports-05917d340dee6d2bf02463af53372f2da2ecab00.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
-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>