mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04: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:
parent
835d26dd3d
commit
6feabdb17d
2 changed files with 9 additions and 1 deletions
|
@ -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' \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue