aboutsummaryrefslogtreecommitdiff
path: root/net/measurement-kit
diff options
context:
space:
mode:
authorVinícius Zavam <egypcio@FreeBSD.org>2019-05-23 07:20:43 +0000
committerVinícius Zavam <egypcio@FreeBSD.org>2019-05-23 07:20:43 +0000
commit890e61d1b55a33a64cefa20276e47bb376fcf99f (patch)
tree59e74d058032085e2d2c70593b926135ab7f4fce /net/measurement-kit
parent9b8cd2bce70da60584bfee269b68cd55c0d822a3 (diff)
downloadports-890e61d1b55a33a64cefa20276e47bb376fcf99f.tar.gz
ports-890e61d1b55a33a64cefa20276e47bb376fcf99f.zip
Notes
Diffstat (limited to 'net/measurement-kit')
-rw-r--r--net/measurement-kit/Makefile2
-rw-r--r--net/measurement-kit/files/patch-m4_mk.m415
2 files changed, 17 insertions, 0 deletions
diff --git a/net/measurement-kit/Makefile b/net/measurement-kit/Makefile
index d9e55adfc05a..cdf9255cd568 100644
--- a/net/measurement-kit/Makefile
+++ b/net/measurement-kit/Makefile
@@ -24,6 +24,8 @@ 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
diff --git a/net/measurement-kit/files/patch-m4_mk.m4 b/net/measurement-kit/files/patch-m4_mk.m4
new file mode 100644
index 000000000000..3374b546c2b5
--- /dev/null
+++ b/net/measurement-kit/files/patch-m4_mk.m4
@@ -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