mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- Introduce WITH_NAS knob
- Minor style nits
This commit is contained in:
parent
6031db5ce7
commit
35291d2551
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196959
@ -38,12 +38,12 @@ PORTDOCS= AUTHORS CREDITS ChangeLog FAQ README TODO
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_LIRC)
|
||||
LIB_DEPENDS+= lirc_client.1:${PORTSDIR}/comms/lirc
|
||||
LIB_DEPENDS+= lirc_client.1:${PORTSDIR}/comms/lirc
|
||||
CONFIGURE_ARGS+= --with-lirc
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SIDPLAY)
|
||||
LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
|
||||
LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-sidplay
|
||||
.endif
|
||||
@ -51,7 +51,7 @@ CONFIGURE_ARGS+= --without-sidplay
|
||||
.if defined(WITHOUT_VORBIS)
|
||||
CONFIGURE_ARGS+= --without-oggvorbis
|
||||
.else
|
||||
LIB_DEPENDS+= vorbisfile.5:${PORTSDIR}/audio/libvorbis
|
||||
LIB_DEPENDS+= vorbisfile.5:${PORTSDIR}/audio/libvorbis
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SDL)
|
||||
@ -61,6 +61,14 @@ USE_SDL= yes
|
||||
CONFIGURE_ARGS+= --without-sdl
|
||||
.endif
|
||||
|
||||
.if defined(WITH_NAS)
|
||||
CONFIGURE_ARGS+= --with-nas
|
||||
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
|
||||
LDFLAGS+= -laudio
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-nas
|
||||
.endif
|
||||
|
||||
.if ${HAVE_GNOME:Mesound} != ""
|
||||
USE_GNOME+= esound
|
||||
CONFIGURE_ARGS+= --with-esd
|
||||
|
10
audio/mp3blaster/files/patch-mpegsound-nasplayer.cc
Normal file
10
audio/mp3blaster/files/patch-mpegsound-nasplayer.cc
Normal file
@ -0,0 +1,10 @@
|
||||
--- mpegsound/nasplayer.cc.orig Thu Aug 2 16:08:09 2007
|
||||
+++ mpegsound/nasplayer.cc Thu Aug 2 16:08:35 2007
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "mpegsound.h"
|
||||
#include "mpegsound_locals.h"
|
||||
#include <unistd.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
NASplayer::NASplayer(AuServer *aud)
|
||||
{
|
Loading…
Reference in New Issue
Block a user