freebsd-ports/net/liboauth/Makefile
Antoine Brodin dd0ac20cef Fix build with openssl 1.1.1
PR:		225919
Submitted by:	Nathan Owens
Obtained from:	https://github.com/x42/liboauth/issues/9
With hat:	portmgr
2018-10-10 19:28:18 +00:00

28 lines
538 B
Makefile

# $FreeBSD$
PORTNAME= liboauth
PORTVERSION= 1.0.3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= C library implementing the OAuth Core standard
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING.MIT
LIB_DEPENDS= libcurl.so:ftp/curl
USES= libtool pkgconfig ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} -e '/PC_REQ=/s/ libcrypto//' ${WRKSRC}/configure
.include <bsd.port.mk>