Index: head/net/measurement-kit/Makefile =================================================================== --- head/net/measurement-kit/Makefile (revision 502315) +++ head/net/measurement-kit/Makefile (revision 502316) @@ -1,42 +1,44 @@ # $FreeBSD$ PORTNAME= measurement-kit DISTVERSIONPREFIX= v DISTVERSION= 0.10.3 CATEGORIES= net devel MAINTAINER= egypcio@FreeBSD.org COMMENT= Portable C++14 network measurement library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libevent.so:devel/libevent \ libmaxminddb.so:net/libmaxminddb RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss USES= autoreconf:build compiler:c++14-lang libtool ssl USE_GITHUB= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libcurl=${LOCALBASE} \ --with-libevent=${LOCALBASE} \ --with-libmaxminddb=${LOCALBASE} \ --with-openssl=${OPENSSLBASE} +CONFIGURE_ENV= CC=${CC} \ + CXX=${CXX} INSTALL_TARGET= install-strip PORTDOCS= README.md include/README.md OPTIONS_DEFINE= DOCS do-configure: @(cd ${WRKSRC} && ${SH} autogen.sh --no-geoip && \ ${SETENV} ${CONFIGURE_ENV} ${SH} configure ${CONFIGURE_ARGS}) post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/include ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/include/measurement_kit/README.md ${STAGEDIR}${DOCSDIR}/include .include Index: head/net/measurement-kit/files/patch-m4_mk.m4 =================================================================== --- head/net/measurement-kit/files/patch-m4_mk.m4 (nonexistent) +++ head/net/measurement-kit/files/patch-m4_mk.m4 (revision 502316) @@ -0,0 +1,15 @@ +--- m4/mk.m4.orig 2019-05-16 20:09:11 UTC ++++ m4/mk.m4 +@@ -90,8 +90,10 @@ AC_DEFUN([MK_AM_OPENSSL], [ + [SSL toolkit @<:@default=check@:>@]) + ], + [ +- CPPFLAGS="$CPPFLAGS -I$withval/include" +- LDFLAGS="$LDFLAGS -L$withval/lib" ++ if test ${with_openssl} != /usr; then ++ CPPFLAGS="$CPPFLAGS -I$withval/include" ++ LDFLAGS="$LDFLAGS -L$withval/lib" ++ fi + ], + [ + if test -d /usr/local/Cellar/openssl; then Property changes on: head/net/measurement-kit/files/patch-m4_mk.m4 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property