freebsd-ports/devel/libmsocket/Makefile
Jan Beich f18538b989 devel/libevent2: update to 2.1.11
Changes:	https://github.com/libevent/libevent/releases/tag/release-2.1.11-stable
ABI:		https://abi-laboratory.pro/tracker/timeline/libevent/
PR:		239599
Reported by:	GitHub (watch releases)
Approved by:	zeising (maintainer)
MFH:		2019Q3 (maybe security, partially restores 2.1.8 ABI)
Differential Revision:	https://reviews.freebsd.org/D21133
2019-08-02 13:30:40 +00:00

44 lines
1 KiB
Makefile

# Created by: Matt Harris <mattdharris@users.sourceforge.net>
# $FreeBSD$
PORTNAME= libmsocket
PORTVERSION= 0.4
PORTREVISION= 6
CATEGORIES= devel net
MASTER_SITES= SF/kageki/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Socket abstraction library for C programmers
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libevent.so:devel/libevent
OPTIONS_DEFINE= DEBUG
USES= tar:bzip2 desthack ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-throttling \
--with-libevent=${LOCALBASE}
PLIST_FILES= lib/libmsocket.so \
lib/libmsocket.so.0.1 \
lib/libmsocket.a \
include/msocket.h \
include/msocketutils.h
CFLAGS_aarch64+=-fPIC -DPIC
CFLAGS_amd64+= -fPIC -DPIC
CFLAGS_i386+= -fPIC -DPIC
DEBUG_CONFIGURE_ON= --enable-debug
post-patch:
${REINPLACE_CMD} 's, withval=$$with_libevent; cf_enable_libevent=$$enableval, withval=$$with_libevent; cf_enable_libevent=$$with_libevent,' \
${WRKSRC}/configure
post-install:
${LN} -sf libmsocket.so.0.1 ${STAGEDIR}${PREFIX}/lib/libmsocket.so
.include <bsd.port.mk>