Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 10:30:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462295 - head/www/libhpack
Message-ID:  <201802191030.w1JAU8Re086290@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Feb 19 10:30:08 2018
New Revision: 462295
URL: https://svnweb.freebsd.org/changeset/ports/462295

Log:
  Use CMAKE_OFF

Modified:
  head/www/libhpack/Makefile

Modified: head/www/libhpack/Makefile
==============================================================================
--- head/www/libhpack/Makefile	Mon Feb 19 10:29:58 2018	(r462294)
+++ head/www/libhpack/Makefile	Mon Feb 19 10:30:08 2018	(r462295)
@@ -20,11 +20,7 @@ BROKEN_armv7=	fails to compile: Can't define TIME_MAX 
 
 LIB_DEPENDS=	libcheck.so:devel/check
 
-CMAKE_ARGS=	-DBUILD_DOCS=OFF \
-		-DBUILD_TESTS=OFF \
-		-DENABLE_GCOV=OFF \
-		-DLINUX=ON \
-		-DUSE_VALGRIND=OFF
+CMAKE_OFF=	BUILD_DOCS BUILD_TESTS ENABLE_GCOV USE_VALGRIND
 MAKE_JOBS_UNSAFE=	yes
 USE_LDCONFIG=	yes
 USES=		cmake pathfix pkgconfig python:2.7,build shebangfix
@@ -44,5 +40,6 @@ post-extract:
 post-patch:
 	@${REINPLACE_CMD} -e 's|STATIC|SHARED|' ${WRKSRC}/libchula/CMakeLists.txt ${WRKSRC}/libhpack/CMakeLists.txt
 	@${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt ${WRKSRC}/libchula/CMakeLists.txt
+	@${REINPLACE_CMD} -e 's|LINUX|BSD|' ${WRKSRC}/libchula-qa/mem_mgr.c
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802191030.w1JAU8Re086290>