mirror of
https://git.freebsd.org/ports.git
synced 2025-05-06 02:47:37 -04:00
Upstream bug: https://github.com/sctplab/usrsctp/issues/667 Approved by: portmgr (just-fix-it)
36 lines
715 B
Makefile
36 lines
715 B
Makefile
PORTNAME= libusrsctp
|
|
DISTVERSION= 0.9.5.0
|
|
CATEGORIES= net devel
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Portable SCTP userland stack
|
|
WWW= https://github.com/sctplab/usrsctp
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
USES= cmake
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= sctplab
|
|
GH_PROJECT= usrsctp
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
|
|
PLIST_FILES= include/usrsctp.h \
|
|
lib/libusrsctp.so \
|
|
lib/libusrsctp.so.2 \
|
|
lib/libusrsctp.so.2.0.0 \
|
|
libdata/pkgconfig/usrsctp.pc
|
|
|
|
CFLAGS+= -Wno-error
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
.if ${OSVERSION} >= 1400000
|
|
@${REINPLACE_CMD} -e 's|ip6protosw.h|ip6_var.h|g' \
|
|
${WRKSRC}/usrsctplib/netinet/sctp_os_userspace.h
|
|
.endif
|
|
.include <bsd.port.post.mk>
|