aboutsummaryrefslogtreecommitdiff
path: root/net/krdc
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2019-02-08 05:11:13 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2019-02-08 05:11:13 +0000
commite349bbbca34ebc9c30430a7394ddb4a00022a3d7 (patch)
treeb192a955107a6cf8e2b26c33b4adbf4f0810c2f7 /net/krdc
parent80cfd6c69a60592a9d2b39bf9f345b602ea61067 (diff)
downloadports-e349bbbca34ebc9c30430a7394ddb4a00022a3d7.tar.gz
ports-e349bbbca34ebc9c30430a7394ddb4a00022a3d7.zip
Notes
Diffstat (limited to 'net/krdc')
-rw-r--r--net/krdc/Makefile1
-rw-r--r--net/krdc/distinfo6
-rw-r--r--net/krdc/files/patch-CMakeLists.txt55
3 files changed, 38 insertions, 24 deletions
diff --git a/net/krdc/Makefile b/net/krdc/Makefile
index 88c8b2ae44c4..c6be8c14fc56 100644
--- a/net/krdc/Makefile
+++ b/net/krdc/Makefile
@@ -2,7 +2,6 @@
PORTNAME= krdc
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
-PORTREVISION= 2
CATEGORIES= net kde kde-applications
MAINTAINER= kde@FreeBSD.org
diff --git a/net/krdc/distinfo b/net/krdc/distinfo
index 46923525d38c..0ba39ff61432 100644
--- a/net/krdc/distinfo
+++ b/net/krdc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546985107
-SHA256 (KDE/applications/18.12.1/krdc-18.12.1.tar.xz) = 3d73fe980fa6e0af3d3483fb2eec36e4b8bc6b65fc60347b1529bb2cd256adea
-SIZE (KDE/applications/18.12.1/krdc-18.12.1.tar.xz) = 1419652
+TIMESTAMP = 1549345758
+SHA256 (KDE/applications/18.12.2/krdc-18.12.2.tar.xz) = c1fbf5610dfed6fb438a89364141dc310801c7c418abb9c7a022308beb911b4d
+SIZE (KDE/applications/18.12.2/krdc-18.12.2.tar.xz) = 1420004
diff --git a/net/krdc/files/patch-CMakeLists.txt b/net/krdc/files/patch-CMakeLists.txt
index c1b2b950e290..e6649efc6a9f 100644
--- a/net/krdc/files/patch-CMakeLists.txt
+++ b/net/krdc/files/patch-CMakeLists.txt
@@ -1,31 +1,46 @@
---- CMakeLists.txt.orig 2017-07-11 00:25:02 UTC
+--- CMakeLists.txt.orig 2019-02-05 00:43:19 UTC
+++ CMakeLists.txt
-@@ -69,16 +69,18 @@ set_package_properties("libvncserver" PROPERTIES
+@@ -80,24 +80,27 @@ set_package_properties("libssh" PROPERTIES
+ PURPOSE "Needed to build VNC+SSH tunnel support "
)
- # Needs porting
--FIND_PROGRAM(FREERDP_EXECUTABLE xfreerdp)
+-# Needs porting
+-find_program(FREERDP_EXECUTABLE xfreerdp)
-if(FREERDP_EXECUTABLE)
+- set(FREERDP_FOUND true) # mark the package found
- set(FREERDP_EXECUTABLE_FOUND true)
-endif(FREERDP_EXECUTABLE)
--
--set_package_properties("freerdp" PROPERTIES
-- DESCRIPTION "A free Remote Desktop Protocol (RDP) Implementation"
-- URL "http://www.freerdp.com"
-- PURPOSE "Needed for RDP support in KRDC (at runtime)"
-- )
+option(WITH_FREERDP OFF)
+if (WITH_FREERDP)
-+ FIND_PROGRAM(FREERDP_EXECUTABLE xfreerdp)
-+ if(FREERDP_EXECUTABLE)
++ # Needs porting
++ find_program(FREERDP_EXECUTABLE xfreerdp)
++ if(FREERDP_EXECUTABLE)
++ set(FREERDP_FOUND true) # mark the package found
+ set(FREERDP_EXECUTABLE_FOUND true)
-+ endif(FREERDP_EXECUTABLE)
-+endif ()
-+add_feature_info( xfreerdp
-+ FREERDP_EXECUTABLE_FOUND
-+ "A free Remote Desktop Protocol (RDP) Implementation"
-+)
-+
++ endif(FREERDP_EXECUTABLE)
+
+-# dud to allow the dep showing up in feature summary.
+-# note that this must be after _FOUND is set so it doesn't incorrectly
+-# set the metadata to not-found.
+-find_package(freerdp QUIET)
++ # dud to allow the dep showing up in feature summary.
++ # note that this must be after _FOUND is set so it doesn't incorrectly
++ # set the metadata to not-found.
++ find_package(freerdp QUIET)
+
+-set_package_properties(freerdp PROPERTIES
+- DESCRIPTION "A free Remote Desktop Protocol (RDP) Implementation"
+- URL "http://www.freerdp.com"
+- PURPOSE "The xfreerdp binary is needed for RDP support in KRDC (at runtime)"
+- TYPE RUNTIME
+-)
++ set_package_properties(freerdp PROPERTIES
++ DESCRIPTION "A free Remote Desktop Protocol (RDP) Implementation"
++ URL "http://www.freerdp.com"
++ PURPOSE "The xfreerdp binary is needed for RDP support in KRDC (at runtime)"
++ TYPE RUNTIME
++ )
++endif()
+
# NX support is not ready for KDE 4.2; disabled (uwolfer)
# macro_optional_find_package(LibNXCL)
- # macro_log_feature(LIBNXCL_FOUND "libnxcl" "NX X compression client library" "http://svn.berlios.de/svnroot/repos/freenx/trunk/freenx-client/nxcl/" FALSE "1.0" "Needed to build Krdc with NX support")