svn commit: r504445 - head/www/libjwt

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Jun 17 23:56:12 UTC 2019


Author: sunpoet
Date: Mon Jun 17 23:56:11 2019
New Revision: 504445
URL: https://svnweb.freebsd.org/changeset/ports/504445

Log:
  Add test

Modified:
  head/www/libjwt/Makefile

Modified: head/www/libjwt/Makefile
==============================================================================
--- head/www/libjwt/Makefile	Mon Jun 17 22:46:23 2019	(r504444)
+++ head/www/libjwt/Makefile	Mon Jun 17 23:56:11 2019	(r504445)
@@ -14,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/MPL-2.0
 
 BUILD_DEPENDS=	jansson>=2.0:devel/jansson
 LIB_DEPENDS=	libjansson.so:devel/jansson
+TEST_DEPENDS=	check>=0.9.4:devel/check
 
 USES=		autoreconf gmake libtool pathfix pkgconfig ssl
 
@@ -24,6 +25,8 @@ CONFIGURE_ENV=	OPENSSL_CFLAGS="-I${OPENSSLINC}" \
 		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
+TEST_ARGS=	CFLAGS+=-I${LOCALBASE}/include LIBS+="-L${LOCALBASE}/lib -lcheck"
+TEST_TARGET=	check
 USE_LDCONFIG=	yes
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list