From owner-svn-ports-head@FreeBSD.ORG Sat Jun 15 20:15:32 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 055099D5; Sat, 15 Jun 2013 20:15:32 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EC8D91832; Sat, 15 Jun 2013 20:15:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5FKFVR1009596; Sat, 15 Jun 2013 20:15:31 GMT (envelope-from mandree@svn.freebsd.org) Received: (from mandree@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5FKFVsi009595; Sat, 15 Jun 2013 20:15:31 GMT (envelope-from mandree@svn.freebsd.org) Message-Id: <201306152015.r5FKFVsi009595@svn.freebsd.org> From: Matthias Andree Date: Sat, 15 Jun 2013 20:15:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321016 - head/graphics/rawtherapee X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 20:15:32 -0000 Author: mandree Date: Sat Jun 15 20:15:31 2013 New Revision: 321016 URL: http://svnweb.freebsd.org/changeset/ports/321016 Log: - depend on libcanberra-gtk3 [1] - change cmake to cmake:outsource to avoid a warning [1] - paranoia: check rawtherapee --help if it prints the version number, to make sure that it links to the right shared libraries (base libgomp is insufficient), just in case RPATH propagation or setting breaks later on. [by yours truly] PR: ports/178206 [1] Submitted by: Waitman Gobble [1] Modified: head/graphics/rawtherapee/Makefile Modified: head/graphics/rawtherapee/Makefile ============================================================================== --- head/graphics/rawtherapee/Makefile Sat Jun 15 19:39:56 2013 (r321015) +++ head/graphics/rawtherapee/Makefile Sat Jun 15 20:15:31 2013 (r321016) @@ -17,9 +17,10 @@ LIB_DEPENDS= gtkmm-2.4:${PORTSDIR}/x11-t lcms2:${PORTSDIR}/graphics/lcms2 \ png15:${PORTSDIR}/graphics/png \ tiff:${PORTSDIR}/graphics/tiff \ - sigc-2.0:${PORTSDIR}/devel/libsigc++20 + sigc-2.0:${PORTSDIR}/devel/libsigc++20 \ + canberra-gtk3:${PORTSDIR}/audio/libcanberra-gtk3 -USES= cmake pkgconfig +USES= cmake:outsource pkgconfig MAKE_JOBS_SAFE= yes USE_XZ= yes USE_GNOME= gtk20 glib20 @@ -56,6 +57,12 @@ post-patch: @${REINPLACE_CMD} -e 's#DESTINATION "$${CMAKE_INSTALL_PREFIX}/share/man/man1"#DESTINATION "${MANPREFIX}/man/man1/"#' \ ${WRKSRC}/CMakeLists.txt +# paranoia: run rawtherapee --help to be sure it finds all its +# shared libraries (this hinges on proper RPATH setting and propagation) +post-build: + ${PREFIX}/bin/rawtherapee --help 2>&1 \ + | ${EGREP} -q "RawTherapee, version ${PKGVERSION:C/_.*//:C/,.*//}" + .include .if ${ARCH} == "amd64" || ${ARCH} == "i386"