summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-11 20:54:45 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-11 21:16:23 +0200
commit2f1109c7f15db08e7582cd38fe285151db273c4c (patch)
treebd3bd57af3a9895f152bfee7a914593b9c402feb
parentmath/xgraph: Fix build with llvm15 (diff)
devel/libshbuf: Fix build with llvm15
- Pet portclippy - Adopt port
-rw-r--r--devel/libshbuf/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/devel/libshbuf/Makefile b/devel/libshbuf/Makefile
index 6823b0ed71c2..05a5f9d03b8c 100644
--- a/devel/libshbuf/Makefile
+++ b/devel/libshbuf/Makefile
@@ -3,17 +3,26 @@ PORTVERSION= 0.0.3
CATEGORIES= devel
MASTER_SITES= http://0pointer.de/lennart/projects/libshbuf/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Library for Shared Buffer IPC
WWW= https://0pointer.de/lennart/projects/libshbuf/
LICENSE= GPLv2 # though COPYING says LGPL21
-USE_LDCONFIG= yes
USES= pathfix libtool
+USE_LDCONFIG= yes
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-lynx --disable-doxygen
+
INSTALL_TARGET= install-strip
+
CFLAGS+= -D_WANT_SEMUN
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
.include <bsd.port.mk>