Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2011 17:48:15 +0100 (CET)
From:      Frédéric Praca <frederic.praca@freebsd-fr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/155497: [PATCH] graphics/libraw : Added needed files for pkg-config
Message-ID:  <201103121648.p2CGmFsR002798@coruscant.dnsalias.net>
Resent-Message-ID: <201103121710.p2CHAAeu079644@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         155497
>Category:       ports
>Synopsis:       [PATCH] graphics/libraw : Added needed files for pkg-config
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 12 17:10:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Frédéric Praca
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD coruscant.dnsalias.net 8.2-STABLE FreeBSD 8.2-STABLE #19: Mon Feb 28 20:58:23 CET 2011 root@coruscant.dnsalias.net:/usr/obj/usr/src/sys/CORUSCANT i386

>Description:
	This patch adds the pc files needed to use libraw through pkg-config.
	This way, it fixes build process of ports using libraw compilation options via pkg-config such as graphics/shotwell
>How-To-Repeat:

>Fix:
--- Makefile~   2011-02-28 17:53:21.000000000 +0100
+++ Makefile    2011-03-12 17:33:05.000000000 +0100
@@ -7,6 +7,7 @@
 
 PORTNAME=      libraw
 PORTVERSION=   0.13.1
+PORTREVISION=  1
 CATEGORIES=    graphics
 MASTER_SITES=  http://www.libraw.su/data/
 DISTNAME=      LibRaw-${PORTVERSION}
@@ -91,6 +92,10 @@
        @${INSTALL_DATA} ${WRKSRC}/lib/${f} ${PREFIX}/lib
 .endfor
 
+.for f in libraw.pc libraw_r.pc
+       @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/libdata/pkgconfig
+.endfor
+
 .if defined(WITH_SHARED_LIBS)
 .for f in libraw.so.0 libraw_r.so.0
        @${INSTALL_DATA} ${WRKSRC}/lib/${f} ${PREFIX}/lib



>Release-Note:
>Audit-Trail:
>Unformatted:



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