pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/wireshark wireshark: add spandsp to options; fixes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e3f965fd420
branches:  trunk
changeset: 395818:0e3f965fd420
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue May 14 11:40:36 2019 +0000

description:
wireshark: add spandsp to options; fixes buidling when spandsp is already installed

diffstat:

 net/wireshark/options.mk |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r f7a6b4f459ad -r 0e3f965fd420 net/wireshark/options.mk
--- a/net/wireshark/options.mk  Tue May 14 11:39:38 2019 +0000
+++ b/net/wireshark/options.mk  Tue May 14 11:40:36 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.23 2019/05/06 09:36:47 adam Exp $
+# $NetBSD: options.mk,v 1.24 2019/05/14 11:40:36 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.wireshark
-PKG_SUPPORTED_OPTIONS= http2 lua qt5
+PKG_SUPPORTED_OPTIONS= http2 lua qt5 spandsp
 PKG_SUGGESTED_OPTIONS= qt5 lua
 
 .include "../../mk/bsd.options.mk"
@@ -60,3 +60,10 @@
 .else
 CMAKE_ARGS+=           -DBUILD_wireshark=OFF
 .endif
+
+.if !empty(PKG_OPTIONS:Mspandsp)
+.include "../../comms/spandsp/buildlink3.mk"
+CMAKE_ARGS+=           -DENABLE_SPANDSP=ON
+.else
+CMAKE_ARGS+=           -DENABLE_SPANDSP=OFF
+.endif



Home | Main Index | Thread Index | Old Index