git: 83c94d8a39d6 - main - net/skstream: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 00:53:46 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=83c94d8a39d61d0aa63d79b6ebfd0fc3e2fe9e69 commit 83c94d8a39d61d0aa63d79b6ebfd0fc3e2fe9e69 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-29 23:17:12 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-30 00:51:39 +0000 net/skstream: Fix build with llvm16 - Add LICENSE GPLv2 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net/skstream/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/net/skstream/Makefile b/net/skstream/Makefile index 54ac5df81831..c1444b4163f8 100644 --- a/net/skstream/Makefile +++ b/net/skstream/Makefile @@ -1,6 +1,6 @@ PORTNAME= skstream PORTVERSION= 0.3.9 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= net MASTER_SITES= SF/worldforge/${PORTNAME}%20%28network%20lib%29/${PORTVERSION} @@ -8,6 +8,9 @@ MAINTAINER= oliver@FreeBSD.org COMMENT= iostream based C++ socket library WWW= http://www.worldforge.org/dev/eng/libraries/skstream/ +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= libtool pathfix pkgconfig compiler:c++11-lib gmake GNU_CONFIGURE= yes USE_LDCONFIG= yes @@ -17,6 +20,12 @@ CXXFLAGS_clang= -Wno-c++11-narrowing OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CXXFLAGS+= -Dregister= +.endif + post-patch: @${REINPLACE_CMD} -e 's| install-docdataDATA | |g' ${WRKSRC}/Makefile.in