| @@ -1,28 +1,33 @@ | | | @@ -1,28 +1,33 @@ |
1 | # $NetBSD: Makefile,v 1.53 2015/08/23 14:30:36 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.54 2016/02/29 17:52:18 jperkin Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= LibPrelude libraries and c++ easy bindings | | 4 | COMMENT= LibPrelude libraries and c++ easy bindings |
5 | PKGREVISION= 11 | | 5 | PKGREVISION= 11 |
6 | | | 6 | |
7 | .include "../../security/libprelude/Makefile.common" | | 7 | .include "../../security/libprelude/Makefile.common" |
8 | | | 8 | |
9 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/client.conf ${PKG_SYSCONFDIR}/default/client.conf | | 9 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/client.conf ${PKG_SYSCONFDIR}/default/client.conf |
10 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/global.conf ${PKG_SYSCONFDIR}/default/global.conf | | 10 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/global.conf ${PKG_SYSCONFDIR}/default/global.conf |
11 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/idmef-client.conf ${PKG_SYSCONFDIR}/default/idmef-client.conf | | 11 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/idmef-client.conf ${PKG_SYSCONFDIR}/default/idmef-client.conf |
12 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/tls.conf ${PKG_SYSCONFDIR}/default/tls.conf | | 12 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/tls.conf ${PKG_SYSCONFDIR}/default/tls.conf |
13 | | | 13 | |
14 | CONFIGURE_ARGS+= --without-python --without-lua --without-perl --without-ruby | | 14 | CONFIGURE_ARGS+= --without-python --without-lua --without-perl --without-ruby |
15 | | | 15 | |
| | | 16 | # Work around mktime configure test failure leading to build issue |
| | | 17 | .if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) |
| | | 18 | CONFIGURE_ENV+= ac_cv_func_working_mktime=yes |
| | | 19 | .endif |
| | | 20 | |
16 | PKGCONFIG_OVERRIDE+= src/libprelude.pc.in | | 21 | PKGCONFIG_OVERRIDE+= src/libprelude.pc.in |
17 | | | 22 | |
18 | PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude | | 23 | PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude |
19 | PKG_SUPPORTED_OPTIONS= debug | | 24 | PKG_SUPPORTED_OPTIONS= debug |
20 | | | 25 | |
21 | .include "../../mk/bsd.options.mk" | | 26 | .include "../../mk/bsd.options.mk" |
22 | | | 27 | |
23 | .if !empty(PKG_OPTIONS:Mdebug) | | 28 | .if !empty(PKG_OPTIONS:Mdebug) |
24 | CFLAGS= -O0 -ggdb | | 29 | CFLAGS= -O0 -ggdb |
25 | .endif | | 30 | .endif |
26 | | | 31 | |
27 | .include "../../devel/libltdl/convenience.mk" | | 32 | .include "../../devel/libltdl/convenience.mk" |
28 | .include "../../security/gnutls/buildlink3.mk" | | 33 | .include "../../security/gnutls/buildlink3.mk" |