1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

net/skstream: Fix build with llvm16

- Add LICENSE GPLv2

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-06-30 01:17:12 +02:00
parent 092d07b918
commit 83c94d8a39

View File

@ -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