From owner-svn-ports-all@freebsd.org Wed Mar 29 08:54:39 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA3CDD2304C; Wed, 29 Mar 2017 08:54:39 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7D159340B; Wed, 29 Mar 2017 08:54:39 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2T8sccL074959; Wed, 29 Mar 2017 08:54:38 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2T8sclX074957; Wed, 29 Mar 2017 08:54:38 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201703290854.v2T8sclX074957@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Wed, 29 Mar 2017 08:54:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437187 - in head/deskutils/plasma-applet-yawp: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2017 08:54:39 -0000 Author: jhale Date: Wed Mar 29 08:54:38 2017 New Revision: 437187 URL: https://svnweb.freebsd.org/changeset/ports/437187 Log: Fix linking after r436971 /usr/bin/ld: cannot find -lweather_ion c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Add missing dependencies Fix LICENSE and add LICENSE_FILE Added: head/deskutils/plasma-applet-yawp/files/ head/deskutils/plasma-applet-yawp/files/patch-CMakeLists.txt (contents, props changed) Modified: head/deskutils/plasma-applet-yawp/Makefile Modified: head/deskutils/plasma-applet-yawp/Makefile ============================================================================== --- head/deskutils/plasma-applet-yawp/Makefile Wed Mar 29 08:49:20 2017 (r437186) +++ head/deskutils/plasma-applet-yawp/Makefile Wed Mar 29 08:54:38 2017 (r437187) @@ -2,7 +2,7 @@ PORTNAME= yawp PORTVERSION= 0.4.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= deskutils kde MASTER_SITES= SF PKGNAMEPREFIX= plasma-applet- @@ -10,10 +10,12 @@ PKGNAMEPREFIX= plasma-applet- MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 weather plasma applet -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSE-GPL2 USES= cmake gettext kde:4 tar:bzip2 -USE_KDE= automoc4 workspace -USE_QT4= qmake_build moc_build rcc_build uic_build +USE_KDE= automoc4 kdelibs workspace +USE_QT4= corelib dbus gui network svg xml \ + qmake_build moc_build rcc_build uic_build .include Added: head/deskutils/plasma-applet-yawp/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/plasma-applet-yawp/files/patch-CMakeLists.txt Wed Mar 29 08:54:38 2017 (r437187) @@ -0,0 +1,23 @@ +Raise CMake minimum version requirement to squash warnings +Don't redefine KDE4WORKSPACE_WEATHERION_LIBRARY as it causes linking failure + +--- CMakeLists.txt.orig 2013-03-23 08:31:22 UTC ++++ CMakeLists.txt +@@ -1,5 +1,5 @@ + PROJECT(plasma-applet-yawp) +-cmake_minimum_required(VERSION 2.6) ++cmake_minimum_required(VERSION 2.8.9) + + #if you don't want the full compiler output, remove the following line + SET(CMAKE_VERBOSE_MAKEFILE ON) +@@ -40,10 +40,6 @@ else ( ${KDE_VERSION} VERSION_LESS "4.1. + set( PLASMA_LIBS ${KDE4_PLASMA_LIBS} ) + endif ( ${KDE_VERSION} VERSION_LESS "4.1.90" ) + +-if ( ${KDE_VERSION} VERSION_GREATER "4.2.9" ) +- set( KDE4WORKSPACE_WEATHERION_LIBRARY weather_ion) +-endif ( ${KDE_VERSION} VERSION_GREATER "4.2.9" ) +- + FIND_PACKAGE(Qt4 REQUIRED QtNetwork QtGui QtCore QtXml QtSvg QtDbus) + +