Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 13:21:15 -0500
From:      "Frank J. Laszlo" <laszlof@vonostingroup.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ltsampros@upnet.gr
Subject:   ports/87733: [PATCH]: audio/taglib: Fix file location bug.
Message-ID:  <E1ESf2R-000C21-F6@ion.franksworld.org>
Resent-Message-ID: <200510201700.j9KH0UAI042883@freefall.freebsd.org>

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

>Number:         87733
>Category:       ports
>Synopsis:       [PATCH]: audio/taglib: Fix file location bug.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 20 17:00:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Frank J. Laszlo
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD ion.franksworld.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jul 18 12:12:29 EDT 2005 laszlof@muffin.ubixos.com:/usr/obj/usr/src/sys/MUFFIN i386


	
>Description:
	This patch will fix the pkg-plist and Makefile to install
	taglib.pc in the proper location (${LOCALBASE}/libdata/pkgconfig)
	it was previously installing into ${LOCALBASE}/lib/pkgconfig. This
	will allow for pkg-config to function as expected. This error was
	pointed out by Leonidas Tsampros (ltsampros@upnet.gr). PORTREVISION
	has been bumped.
>How-To-Repeat:
	
>Fix:

	

--- taglib-1.4_1.diff begins here ---
diff -NrU3 taglib.orig/Makefile taglib/Makefile
--- taglib.orig/Makefile	Thu Oct 20 12:18:50 2005
+++ taglib/Makefile	Thu Oct 20 13:14:44 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	taglib
 PORTVERSION=	1.4
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://ktown.kde.org/~wheeler/files/src/
 
@@ -17,8 +18,14 @@
 USE_GMAKE=	yes
 USE_INC_LIBTOOL_VER=15
 INSTALLS_SHLIB=	yes
+USE_REINPLACE=	yes
 
 CONFIGURE_TARGET=
 CONFIGURE_ARGS+=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+	"s#\$$(libdir)/pkgconfig#${LOCALBASE}/libdata/pkgconfig#g" \
+	${WRKSRC}/taglib/Makefile.in
 
 .include <bsd.port.mk>
diff -NrU3 taglib.orig/pkg-plist taglib/pkg-plist
--- taglib.orig/pkg-plist	Thu Oct 20 12:18:50 2005
+++ taglib/pkg-plist	Thu Oct 20 13:14:31 2005
@@ -1,5 +1,5 @@
 bin/taglib-config
-lib/pkgconfig/taglib.pc
+libdata/pkgconfig/taglib.pc
 include/taglib/apefooter.h
 include/taglib/apeitem.h
 include/taglib/apetag.h
--- taglib-1.4_1.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ESf2R-000C21-F6>