pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/asterisk16



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Aug 20 21:16:20 UTC 2019

Modified Files:
        pkgsrc/comms/asterisk16: Makefile

Log Message:
Fix build on NetBSD 8


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/comms/asterisk16/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/comms/asterisk16/Makefile
diff -u pkgsrc/comms/asterisk16/Makefile:1.46 pkgsrc/comms/asterisk16/Makefile:1.47
--- pkgsrc/comms/asterisk16/Makefile:1.46       Tue Aug 20 13:47:42 2019
+++ pkgsrc/comms/asterisk16/Makefile    Tue Aug 20 21:16:20 2019
@@ -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 @@ PLIST.mgcp=        yes
 .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