svn commit: r514677 - head/sysutils/plasma5-ksysguard
Tobias C. Berner
tcberner at FreeBSD.org
Thu Oct 17 18:32:42 UTC 2019
Author: tcberner
Date: Thu Oct 17 18:32:41 2019
New Revision: 514677
URL: https://svnweb.freebsd.org/changeset/ports/514677
Log:
sysutils/plasma5-ksysguard: disable libpcap on FreeBSD < 12
* pcap/sll.h is not present on FreeBSD-11.
Reported by: pkg-fallout, antoine
Modified:
head/sysutils/plasma5-ksysguard/Makefile
head/sysutils/plasma5-ksysguard/pkg-plist
Modified: head/sysutils/plasma5-ksysguard/Makefile
==============================================================================
--- head/sysutils/plasma5-ksysguard/Makefile Thu Oct 17 18:28:19 2019 (r514676)
+++ head/sysutils/plasma5-ksysguard/Makefile Thu Oct 17 18:32:41 2019 (r514677)
@@ -25,4 +25,13 @@ INOTIFY_DESC= Filesystem alteration notifications usi
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>
Modified: head/sysutils/plasma5-ksysguard/pkg-plist
==============================================================================
--- head/sysutils/plasma5-ksysguard/pkg-plist Thu Oct 17 18:28:19 2019 (r514676)
+++ head/sysutils/plasma5-ksysguard/pkg-plist Thu Oct 17 18:32:41 2019 (r514677)
@@ -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
More information about the svn-ports-all
mailing list