2018-01-03 02:04:54 +01:00
|
|
|
# $NetBSD: Makefile,v 1.58 2018/01/03 01:06:59 rillig Exp $
|
2006-01-29 16:54:04 +01:00
|
|
|
#
|
2009-02-10 22:11:13 +01:00
|
|
|
|
2016-09-29 14:14:37 +02:00
|
|
|
PKGREVISION= 14
|
2018-01-03 02:04:54 +01:00
|
|
|
COMMENT= LibPrelude libraries and c++ easy bindings
|
|
|
|
LICENSE= gnu-gpl-v2
|
2007-09-03 15:43:40 +02:00
|
|
|
|
2009-10-07 21:39:42 +02:00
|
|
|
.include "../../security/libprelude/Makefile.common"
|
|
|
|
|
2007-09-03 15:43:40 +02:00
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/client.conf ${PKG_SYSCONFDIR}/default/client.conf
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/global.conf ${PKG_SYSCONFDIR}/default/global.conf
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/idmef-client.conf ${PKG_SYSCONFDIR}/default/idmef-client.conf
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/libprelude/tls.conf ${PKG_SYSCONFDIR}/default/tls.conf
|
|
|
|
|
2011-09-14 19:34:57 +02:00
|
|
|
CONFIGURE_ARGS+= --without-python --without-lua --without-perl --without-ruby
|
|
|
|
|
2016-02-29 18:52:18 +01:00
|
|
|
# Work around mktime configure test failure leading to build issue
|
|
|
|
.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64)
|
|
|
|
CONFIGURE_ENV+= ac_cv_func_working_mktime=yes
|
|
|
|
.endif
|
|
|
|
|
2009-08-23 20:56:34 +02:00
|
|
|
PKGCONFIG_OVERRIDE+= src/libprelude.pc.in
|
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude
|
|
|
|
PKG_SUPPORTED_OPTIONS= debug
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
2006-04-12 21:40:51 +02:00
|
|
|
|
2009-08-23 20:56:34 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
|
|
CFLAGS= -O0 -ggdb
|
|
|
|
.endif
|
2006-01-29 16:54:04 +01:00
|
|
|
|
2009-08-23 20:56:34 +02:00
|
|
|
.include "../../devel/libltdl/convenience.mk"
|
2006-01-29 16:54:04 +01:00
|
|
|
.include "../../security/gnutls/buildlink3.mk"
|
2011-07-08 13:47:28 +02:00
|
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
2006-01-29 16:54:04 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|