1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

audio/lmms: fix pkg-plist on non-{amd64,i386}

libgigplayer.so depends on audio/carla having LINUXSAMPLER enabled, but
LINUXSAMPLER only works on amd64 and i386.
This commit is contained in:
Piotr Kubaj 2022-05-26 00:07:23 +00:00
parent 835d26dd3d
commit 6feabdb17d
2 changed files with 9 additions and 1 deletions

View File

@ -65,6 +65,14 @@ SDL_USE= SDL=sdl
SNDIO_CMAKE_BOOL= WANT_SNDIO
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
.include <bsd.port.options.mk>
.if ${ARCH} == amd64 || ${ARCH} == i386
PLIST_SUB= LINUXSAMPLER=""
.else
PLIST_SUB= LINUXSAMPLER="@comment "
.endif
post-patch:
@${REINPLACE_CMD} 's|/usr|${LOCALBASE}|g' ${WRKSRC}/src/core/ConfigManager.cpp
@${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \

View File

@ -246,7 +246,7 @@ lib/lmms/libdualfilter.so
lib/lmms/libdynamicsprocessor.so
lib/lmms/libeq.so
lib/lmms/libflanger.so
lib/lmms/libgigplayer.so
%%LINUXSAMPLER%%lib/lmms/libgigplayer.so
lib/lmms/libhydrogenimport.so
lib/lmms/libkicker.so
lib/lmms/libladspabrowser.so