Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2014 18:58:35 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366927 - head/audio/libsidplay2
Message-ID:  <201409011858.s81IwZAj096645@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Sep  1 18:58:35 2014
New Revision: 366927
URL: http://svnweb.freebsd.org/changeset/ports/366927
QAT: https://qat.redports.org/buildarchive/r366927/

Log:
  Patch *.pc files to replace ${libdir}/libfoo.la with "-L${libdir} -lfoo".
  This fixes audio/sidplay2 after r366789.
  
  Reported by:	antoine

Modified:
  head/audio/libsidplay2/Makefile

Modified: head/audio/libsidplay2/Makefile
==============================================================================
--- head/audio/libsidplay2/Makefile	Mon Sep  1 18:26:26 2014	(r366926)
+++ head/audio/libsidplay2/Makefile	Mon Sep  1 18:58:35 2014	(r366927)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libsidplay2
 PORTVERSION=	2.1.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	audio emulators
 MASTER_SITES=	SF/sidplay2/sidplay2/sidplay-libs-${PORTVERSION}
 DISTNAME=	sidplay-libs-${PORTVERSION}
@@ -19,5 +19,8 @@ USE_LDCONFIG=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
 		${WRKSRC}/libsidutils/src/ini/ini.cpp
+	@${REINPLACE_CMD} '/^Libs:/s|\($${libdir}\)/lib\(.*\).la|-L\1 -l\2|' \
+		${WRKSRC}/libsidplay/unix/libsidplay2.pc.in \
+		${WRKSRC}/libsidutils/unix/libsidutils.pc.in
 
 .include <bsd.port.mk>



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