pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2017Q1] pkgsrc/security/zoneminder

Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Mon May  1 08:25:51 UTC 2017

Modified Files:
        pkgsrc/security/zoneminder [pkgsrc-2017Q1]: Makefile

Log Message:
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
   Inhibit its use on Darwin to fix the build.

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

To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.32.2.1 pkgsrc/security/zoneminder/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/zoneminder/Makefile
diff -u pkgsrc/security/zoneminder/Makefile:1.32 pkgsrc/security/zoneminder/Makefile:
--- pkgsrc/security/zoneminder/Makefile:1.32    Sun Mar 12 07:20:51 2017
+++ pkgsrc/security/zoneminder/Makefile Mon May  1 08:25:51 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2017/03/12 07:20:51 maya Exp $
+# $NetBSD: Makefile,v 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_SSL_LIB=openssl
 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/"

Home | Main Index | Thread Index | Old Index