sysutils/plasma5-ksysguard: disable libpcap on FreeBSD < 12

* pcap/sll.h is not present on FreeBSD-11.

Reported by:	pkg-fallout, antoine
This commit is contained in:
Tobias C. Berner 2019-10-17 18:32:41 +00:00
parent 3db596238d
commit bf28561109
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514677
2 changed files with 11 additions and 2 deletions

View file

@ -25,4 +25,13 @@ INOTIFY_DESC= Filesystem alteration notifications using inotify
INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify
INOTIFY_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Inotify
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000
CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_libpcap:BOOL=TRUE
PLIST_SUB+= PCAP="@comment "
.else
PLIST_SUB+= PCAP=""
.endif
.include <bsd.port.mk>

View file

@ -1,9 +1,9 @@
bin/ksysguard
bin/ksysguardd
etc/ksysguarddrc
lib/libexec/ksysguard/ksgrd_network_helper
%%PCAP%%lib/libexec/ksysguard/ksgrd_network_helper
lib/libkdeinit5_ksysguard.so
%%QT_PLUGINDIR%%/ksysguard/process/ksysguard_plugin_network.so
%%PCAP%%%%QT_PLUGINDIR%%/ksysguard/process/ksysguard_plugin_network.so
share/applications/org.kde.ksysguard.desktop
share/doc/HTML/ca/ksysguard/index.cache.bz2
share/doc/HTML/ca/ksysguard/index.docbook