pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/asterisk16 Fix build on NetBSD 8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c0195257ac1
branches:  trunk
changeset: 400029:4c0195257ac1
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Aug 20 21:16:20 2019 +0000

description:
Fix build on NetBSD 8

diffstat:

 comms/asterisk16/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 00d370d8719b -r 4c0195257ac1 comms/asterisk16/Makefile
--- a/comms/asterisk16/Makefile Tue Aug 20 20:18:00 2019 +0000
+++ b/comms/asterisk16/Makefile Tue Aug 20 21:16:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2019/08/20 13:47:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.47 2019/08/20 21:16:20 ryoon Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
@@ -139,8 +139,11 @@
 .endif
 
 PLIST_VARS+=   unbound
-.if exists(/usr/include/unbound.h)
+# unbound 1.5 or later is required.`
+.if exists(/usr/include/unbound.h) && !empty(OS_VERSION:M9.*)
 PLIST.unbound= yes
+.else
+CONFIGURE_ARGS+=       --without-unbound
 .endif
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index