aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lttng-tools
diff options
context:
space:
mode:
authorMahdi Mokhtari <mmokhi@FreeBSD.org>2017-02-13 16:43:36 +0000
committerMahdi Mokhtari <mmokhi@FreeBSD.org>2017-02-13 16:43:36 +0000
commit26ced1680357de71fcb3d0190b48588e08b38917 (patch)
treef17a3e672c23913e2386224558ff3fe607d7d9bb /sysutils/lttng-tools
parentee7f672c22216d22fd8501732495cc7f01f93164 (diff)
Notes
Diffstat (limited to 'sysutils/lttng-tools')
-rw-r--r--sysutils/lttng-tools/Makefile2
-rw-r--r--sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/lttng-tools/Makefile b/sysutils/lttng-tools/Makefile
index 868bab2c3e21..811654fcb3cc 100644
--- a/sysutils/lttng-tools/Makefile
+++ b/sysutils/lttng-tools/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libpopt.so:devel/popt \
liburcu.so:sysutils/liburcu \
liblttng-ust-ctl.so:sysutils/lttng-ust
-USES= autoreconf bison libtool localbase pathfix \
+USES= autoreconf bison libtool localbase pathfix pkgconfig \
shebangfix tar:bzip2
USE_LDCONFIG= yes
USE_GNOME= libxml2
diff --git a/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h b/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h
index 4413e406a41a..4f886bcf1cad 100644
--- a/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h
+++ b/sysutils/lttng-tools/files/patch-src_common_compat_fcntl.h
@@ -4,7 +4,8 @@
#include <errno.h>
#include <sys/types.h>
- #if (defined(__FreeBSD__) || defined(__CYGWIN__))
+-#if (defined(__FreeBSD__) || defined(__CYGWIN__))
++#if ((defined(__FreeBSD__) && __FreeBSD__ < 11) || defined(__CYGWIN__))
typedef long long off64_t;
#endif