1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/audio/libsidplay2/Makefile
Tijl Coosemans 1f1a563e4d Compile libresidc.a with -fPIC. The library isn't installed but is linked
into libresid-builder.a which some ports (e.g. xmms2) want to link into
shared libraries so it must be compiled with -fPIC.

Silence a check-plist error while here.

Reported by:	amdmi3
2015-01-18 19:40:27 +00:00

27 lines
748 B
Makefile

# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$
PORTNAME= libsidplay2
PORTVERSION= 2.1.1
PORTREVISION= 8
CATEGORIES= audio emulators
MASTER_SITES= SF/sidplay2/sidplay2/sidplay-libs-${PORTVERSION}
DISTNAME= sidplay-libs-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library to play Commodore 64 SID-tunes cycle accurately
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gmake libtool pathfix pkgconfig
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>