summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-29 17:52:18 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-29 17:52:18 +0000
commitd1794ff27a79900b2e8b892877366d4fc6672a67 (patch)
treea239531397c5e618239c49c4ac38e1a6c6585640 /security
parent7790f4c94959ca3d8ff63e1e45a994e54f3ab102 (diff)
downloadpkgsrc-d1794ff27a79900b2e8b892877366d4fc6672a67.tar.gz
Work around mktime configure test failure which leads to a build issue
on Darwin/64-bit.
Diffstat (limited to 'security')
-rw-r--r--security/libprelude/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index 5a38ebdaeba..372df867b25 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2015/08/23 14:30:36 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2016/02/29 17:52:18 jperkin Exp $
#
COMMENT= LibPrelude libraries and c++ easy bindings
@@ -13,6 +13,11 @@ CONF_FILES+= ${PREFIX}/share/examples/libprelude/tls.conf ${PKG_SYSCONFDIR}/defa
CONFIGURE_ARGS+= --without-python --without-lua --without-perl --without-ruby
+# 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
+
PKGCONFIG_OVERRIDE+= src/libprelude.pc.in
PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude