diff --git a/audio/sndio/Makefile b/audio/sndio/Makefile index d9ade9c86ac6..ba06c1cf2cbf 100644 --- a/audio/sndio/Makefile +++ b/audio/sndio/Makefile @@ -1,36 +1,37 @@ PORTNAME= sndio DISTVERSION= 1.10.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://sndio.org/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Small audio and MIDI framework from the OpenBSD project WWW= https://www.sndio.org/ LICENSE= ISCL USE_LDCONFIG= yes USE_RC_SUBR= sndiod HAS_CONFIGURE= yes CONFIGURE_ARGS= --default-dev="rsnd/default" \ --prefix=${PREFIX} \ --pkgconfdir=${PREFIX}/libdata/pkgconfig # Parallel build leads to problems, but sndio is very quick to compile # as is so not worth fixing MAKE_JOBS_UNSAFE= yes USERS= _sndio GROUPS= _sndio post-patch: # Make sure sndiod can be started inside jails as root @${REINPLACE_CMD} 's|err(1, "setpriority")|warn("setpriority")|' \ ${WRKSRC}/sndiod/sndiod.c post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsndio.so.7.3 .include diff --git a/audio/sndio/files/sndiod.in b/audio/sndio/files/sndiod.in index 243832c1c821..890d10488c3f 100644 --- a/audio/sndio/files/sndiod.in +++ b/audio/sndio/files/sndiod.in @@ -1,19 +1,19 @@ #!/bin/sh # PROVIDE: sndiod # REQUIRE: NETWORKING sysctl -# BEFORE: DAEMON +# BEFORE: DAEMON virtual_oss # KEYWORD: shutdown . /etc/rc.subr name=sndiod rcvar=sndiod_enable load_rc_config $name : ${sndiod_enable="NO"} command="%%PREFIX%%/bin/sndiod" run_rc_command "$1"