mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
While here, drop needless OPENSSL_{CPP,LD}FLAGS assignments. With DEFAULT_VERSIONS+=ssl=openssl|libressl, the following definitions end up in the ${WRKSRC}/Makefile without manual specification of the paths, as they come from pkgconf(1): OPENSSL_INCS = -I/usr/local/include OPENSSL_LIBS = -L/usr/local/lib -lssl -lcrypto With default OpenSSL implementation (base): OPENSSL_INCS = OPENSSL_LIBS = -lssl -lcrypto
33 lines
832 B
Makefile
33 lines
832 B
Makefile
PORTNAME= libevent
|
|
DISTVERSION= 2.1.12
|
|
DISTVERSIONSUFFIX= -stable
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/release-${DISTVERSION}${DISTVERSIONSUFFIX}/
|
|
|
|
MAINTAINER= kbowling@FreeBSD.org
|
|
COMMENT= API for executing callback functions on events or timeouts
|
|
WWW= https://libevent.org/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cpe libtool pathfix pkgconfig python:env shebangfix
|
|
SHEBANG_FILES= event_rpcgen.py
|
|
GNU_CONFIGURE= yes
|
|
CPE_VENDOR= libevent_project
|
|
INSTALL_TARGET= install-strip
|
|
TEST_TARGET= check
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFLICTS_INSTALL= ${PORTNAME}-devel
|
|
|
|
OPTIONS_DEFINE= OPENSSL THREADS
|
|
OPTIONS_DEFAULT= OPENSSL THREADS
|
|
OPTIONS_SUB= yes
|
|
|
|
OPENSSL_USES= ssl
|
|
OPENSSL_CONFIGURE_ENABLE= openssl
|
|
|
|
THREADS_CONFIGURE_ENABLE= thread-support
|
|
|
|
.include <bsd.port.mk>
|