pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/zoneminder Darwin does have sendfile(), but t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/830f4e24b90e
branches: trunk
changeset: 361375:830f4e24b90e
user: dsainty <dsainty%pkgsrc.org@localhost>
date: Thu Apr 20 09:59:39 2017 +0000
description:
Darwin does have sendfile(), but the API differs from ZoneMinder's expectation.
Inhibit its use on Darwin to fix the build.
diffstat:
security/zoneminder/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 717a250f600e -r 830f4e24b90e security/zoneminder/Makefile
--- a/security/zoneminder/Makefile Thu Apr 20 09:55:28 2017 +0000
+++ b/security/zoneminder/Makefile Thu Apr 20 09:59:39 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2017/03/12 07:20:51 maya Exp $
+# $NetBSD: Makefile,v 1.33 2017/04/20 09:59:39 dsainty Exp $
PKGNAME= ${DISTNAME:S/ZoneMinder-/zoneminder-/}
DISTNAME= ZoneMinder-1.28.1
@@ -100,6 +100,12 @@
CONFIGURE_ENV+= ZM_RUNDIR=${VARBASE}/run/zm
CONFIGURE_ENV+= ZM_SOCKDIR=${VARBASE}/run/zm
+#
+# Darwin does have sendfile(), but the API differs from ZoneMinder's
+# expectation.
+#
+CONFIGURE_ARGS.Darwin+= ac_cv_func_sendfile=no ac_cv_header_sys_sendfile_h=no
+
.if !empty(PKG_OPTIONS:Mapache)
.include "../../mk/apache.mk"
Home |
Main Index |
Thread Index |
Old Index