pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/wireshark



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 14 11:40:36 UTC 2019

Modified Files:
        pkgsrc/net/wireshark: options.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/net/wireshark/options.mk

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

Modified files:

Index: pkgsrc/net/wireshark/options.mk
diff -u pkgsrc/net/wireshark/options.mk:1.23 pkgsrc/net/wireshark/options.mk:1.24
--- pkgsrc/net/wireshark/options.mk:1.23        Mon May  6 09:36:47 2019
+++ pkgsrc/net/wireshark/options.mk     Tue May 14 11:40:36 2019
@@ -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 @@ install-icons:
 .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