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/09958a890549
branches:  trunk
changeset: 338227:09958a890549
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 664ded2e49c9 -r 09958a890549 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