| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.15 2015/04/07 12:32:59 dsainty Exp $ | | 1 | # $NetBSD: Makefile,v 1.16 2015/04/10 02:53:20 dsainty Exp $ |
2 | | | 2 | |
3 | PKGNAME= ${DISTNAME:S/ZoneMinder-/zoneminder-/} | | 3 | PKGNAME= ${DISTNAME:S/ZoneMinder-/zoneminder-/} |
4 | DISTNAME= ZoneMinder-1.28.1 | | 4 | DISTNAME= ZoneMinder-1.28.1 |
5 | CATEGORIES= security | | 5 | CATEGORIES= security |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ZoneMinder/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ZoneMinder/} |
7 | GITHUB_PROJECT= ZoneMinder | | 7 | GITHUB_PROJECT= ZoneMinder |
8 | GITHUB_TYPE= tag | | 8 | GITHUB_TYPE= tag |
9 | GITHUB_TAG= v${PKGVERSION_NOREV} | | 9 | GITHUB_TAG= v${PKGVERSION_NOREV} |
10 | | | 10 | |
11 | MAINTAINER= dsainty@NetBSD.org | | 11 | MAINTAINER= dsainty@NetBSD.org |
12 | HOMEPAGE= http://www.zoneminder.com/ | | 12 | HOMEPAGE= http://www.zoneminder.com/ |
13 | COMMENT= Video camera security and surveillance solution | | 13 | COMMENT= Video camera security and surveillance solution |
14 | LICENSE= gnu-gpl-v2 | | 14 | LICENSE= gnu-gpl-v2 |
| @@ -60,29 +60,29 @@ CONFIGURE_ARGS+= --with-cgidir=${PREFIX} | | | @@ -60,29 +60,29 @@ CONFIGURE_ARGS+= --with-cgidir=${PREFIX} |
60 | CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client} | | 60 | CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client} |
61 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | | 61 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} |
62 | | | 62 | |
63 | # PolicyKit doesn't actually seem to be necessary. This hack disables | | 63 | # PolicyKit doesn't actually seem to be necessary. This hack disables |
64 | # configure's hunt for PolicyKit, but has no other apparent ill effects. | | 64 | # configure's hunt for PolicyKit, but has no other apparent ill effects. |
65 | CONFIGURE_ENV+= POLKIT_CFLAGS=" " POLKIT_LIBS=" " | | 65 | CONFIGURE_ENV+= POLKIT_CFLAGS=" " POLKIT_LIBS=" " |
66 | | | 66 | |
67 | PTHREAD_AUTO_VARS= yes | | 67 | PTHREAD_AUTO_VARS= yes |
68 | .include "../../mk/pthread.buildlink3.mk" | | 68 | .include "../../mk/pthread.buildlink3.mk" |
69 | | | 69 | |
70 | CONFIGURE_ENV+= OPT_NETPBM=yes | | 70 | CONFIGURE_ENV+= OPT_NETPBM=yes |
71 | CONFIGURE_ENV+= PATH_NETPBM=${PREFIX}/bin/pnmscale | | 71 | CONFIGURE_ENV+= PATH_NETPBM=${PREFIX}/bin/pnmscale |
72 | | | 72 | |
73 | .include "../../multimedia/ffmpeg010/buildlink3.mk" | | 73 | .include "../../multimedia/ffmpeg2/buildlink3.mk" |
74 | CONFIGURE_ARGS+= --with-ffmpeg=${BUILDLINK_PREFIX.ffmpeg010} | | 74 | CONFIGURE_ARGS+= --with-ffmpeg=${BUILDLINK_PREFIX.ffmpeg2} |
75 | CONFIGURE_ENV+= PATH_FFMPEG=${BUILDLINK_PREFIX.ffmpeg010}/bin/ffmpeg010 | | 75 | CONFIGURE_ENV+= PATH_FFMPEG=${BUILDLINK_PREFIX.ffmpeg2}/bin/ffmpeg2 |
76 | CONFIGURE_ENV+= OPT_FFMPEG=yes | | 76 | CONFIGURE_ENV+= OPT_FFMPEG=yes |
77 | | | 77 | |
78 | # The backtrace requires Linux's unportable <execinfo.h> header. | | 78 | # The backtrace requires Linux's unportable <execinfo.h> header. |
79 | CONFIGURE_ARGS+= --enable-crashtrace=no | | 79 | CONFIGURE_ARGS+= --enable-crashtrace=no |
80 | | | 80 | |
81 | # Need Perl Sys::Mmap module for (default) mmap support. | | 81 | # Need Perl Sys::Mmap module for (default) mmap support. |
82 | CONFIGURE_ARGS+= --enable-mmap=no | | 82 | CONFIGURE_ARGS+= --enable-mmap=no |
83 | | | 83 | |
84 | # This is somewhat awkward. ffmpeg's libavformat/avformat.h requires | | 84 | # This is somewhat awkward. ffmpeg's libavformat/avformat.h requires |
85 | # constant macros from stdint.h, but these are only defined under C++ if | | 85 | # constant macros from stdint.h, but these are only defined under C++ if |
86 | # __STDC_CONSTANT_MACROS is requested, so we have to do that on behalf | | 86 | # __STDC_CONSTANT_MACROS is requested, so we have to do that on behalf |
87 | # of ffmpeg. Failure to do so causes configure time failures, and | | 87 | # of ffmpeg. Failure to do so causes configure time failures, and |
88 | # build failures complaining about UINT64_C not being defined. | | 88 | # build failures complaining about UINT64_C not being defined. |