diff options
author | tijl <tijl@FreeBSD.org> | 2014-09-02 02:58:35 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-09-02 02:58:35 +0800 |
commit | 4ec17d1ade07a1ab4c3c4e8151e631554b1af0d4 (patch) | |
tree | 0a18237da6b9c6f72200713d25a44a9f8614cc73 /audio/libsidplay2 | |
parent | 5dbeb3e45056071a398db4f65a1abbafb71e3ede (diff) | |
download | freebsd-ports-gnome-4ec17d1ade07a1ab4c3c4e8151e631554b1af0d4.tar.gz freebsd-ports-gnome-4ec17d1ade07a1ab4c3c4e8151e631554b1af0d4.tar.zst freebsd-ports-gnome-4ec17d1ade07a1ab4c3c4e8151e631554b1af0d4.zip |
Patch *.pc files to replace ${libdir}/libfoo.la with "-L${libdir} -lfoo".
This fixes audio/sidplay2 after r366789.
Reported by: antoine
Diffstat (limited to 'audio/libsidplay2')
-rw-r--r-- | audio/libsidplay2/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/libsidplay2/Makefile b/audio/libsidplay2/Makefile index acf60930098b..31656c927558 100644 --- a/audio/libsidplay2/Makefile +++ b/audio/libsidplay2/Makefile @@ -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> |