pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cmark: Add test target



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Feb 28 14:23:31 2016 +0100
Changeset:	3f6961447ccb9dcebd5ab22dc5c827289e8872b8

Modified Files:
	cmark/Makefile

Log Message:
cmark: Add test target

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3f6961447ccb9dcebd5ab22dc5c827289e8872b8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cmark/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diffs:
diff --git a/cmark/Makefile b/cmark/Makefile
index c456ae0..04723e1 100644
--- a/cmark/Makefile
+++ b/cmark/Makefile
@@ -13,12 +13,20 @@ USE_CMAKE=	yes
 USE_TOOLS+=	pkg-config
 USE_LANGUAGES=	c c++
 
+PYTHON_FOR_BUILD_ONLY=	yes
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
 PKGCONFIG_OVERRIDE+=	src/libcmark.pc.in
 
 CONFIGURE_DIRS=		${WRKDIR}/build
 CMAKE_ARG_PATH=		${WRKSRC}
 
+TEST_ENV+=	LD_LIBRARY_PATH=${WRKDIR}/build/src
+TEST_TARGET=	test
+
 post-extract:
 	${RUN} mkdir -p ${WRKDIR}/build
 
+.include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index