pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2017Q1]: pkgsrc/security/zoneminder Pullup ticket #5331 - requ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/178180b16c29
branches:  pkgsrc-2017Q1
changeset: 360318:178180b16c29
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon May 01 08:25:51 2017 +0000

description:
Pullup ticket #5331 - requested by sevan
security/zoneminder: build fix for macOS

Revisions pulled up:
- security/zoneminder/Makefile                                  1.33

---
   Module Name:    pkgsrc
   Committed By:   dsainty
   Date:           Thu Apr 20 09:59:39 UTC 2017

   Modified Files:
           pkgsrc/security/zoneminder: Makefile

   Log Message:
   Darwin does have sendfile(), but the API differs from ZoneMinder's
   expectation.
   Inhibit its use on Darwin to fix the build.

   Hello,
   Please pull up the following Darwin build fix to security/zoneminder.

diffstat:

 security/zoneminder/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 1a4d8836679e -r 178180b16c29 security/zoneminder/Makefile
--- a/security/zoneminder/Makefile      Sat Apr 29 19:32:54 2017 +0000
+++ b/security/zoneminder/Makefile      Mon May 01 08:25:51 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2017/03/12 07:20:51 maya Exp $
+# $NetBSD: Makefile,v 1.32.2.1 2017/05/01 08:25:51 bsiegert 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