Date: Sun, 7 May 2006 18:57:32 +0200 (CEST) From: Ulrich Spoerlein <uspoerlein@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: holger@e-gitt.net Subject: ports/96929: [PATCH] multimedia/avifile: Unbreak pkg-config Message-ID: <200605071657.k47GvW8K038157@roadrunner.q.local> Resent-Message-ID: <200605071730.k47HUAvD076485@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96929 >Category: ports >Synopsis: [PATCH] multimedia/avifile: Unbreak pkg-config >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 07 17:30:09 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 6.1-RC i386 >Organization: >Environment: System: FreeBSD roadrunner 6.1-RC FreeBSD 6.1-RC #1: Tue Apr 25 15:39:00 CEST 2006 >Description: multimedia/transcode failed, as it was looking for the avifile headers in /usr/local/include/avifile-0.7. But the port installs them to .../avifile In incorrect (?) pkg-config entry is to blame. Port maintainer (holger@e-gitt.net) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: # portinstall multimedia/avifile # pkg-config --cflags avifile -I/usr/local/include/avifile-0.7 >Fix: --- avifile-0.7.43_1,2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/avifile/Makefile,v retrieving revision 1.61 diff -u -p -u -r1.61 Makefile --- Makefile 2 May 2006 23:14:18 -0000 1.61 +++ Makefile 7 May 2006 16:55:03 -0000 @@ -7,6 +7,7 @@ PORTNAME= avifile PORTVERSION= 0.7.43 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -274,6 +275,9 @@ post-patch: @${REINPLACE_CMD} -E \ -e 's|^(pkgconfigdir).*|\1=${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in +# fix pkg-config DB entry, we don't version the include directory + @${REINPLACE_CMD} -E -e \ + '/^includedir/s|-[0-9.]+$||' ${WRKSRC}/avifile.pc # do not install man page for v4l @${REINPLACE_CMD} -E \ -e 's|kv4lsetup.1||' ${WRKSRC}/doc/Makefile.in --- avifile-0.7.43_1,2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605071657.k47GvW8K038157>