Date: Thu, 17 Oct 2019 18:32:41 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514677 - head/sysutils/plasma5-ksysguard Message-ID: <201910171832.x9HIWfLd064239@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910171832.x9HIWfLd064239>