Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2013 20:15:31 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321016 - head/graphics/rawtherapee
Message-ID:  <201306152015.r5FKFVsi009595@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <uzimac@da3m0n8t3r.com> [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 <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64" || ${ARCH} == "i386"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306152015.r5FKFVsi009595>