Date: Sat, 13 May 2023 14:24:53 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 864ec5fbb959 - main - audio/play: Unbreak on HEAD Message-ID: <202305131424.34DEOrNs001008@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=864ec5fbb959dbadd463378ea4b65e1ea31cda41 commit 864ec5fbb959dbadd463378ea4b65e1ea31cda41 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-05-12 22:50:55 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-05-13 14:24:16 +0000 audio/play: Unbreak on HEAD - Add LICENSE NONE - Pet portclippy - Adopt port --- audio/play/Makefile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/audio/play/Makefile b/audio/play/Makefile index 3a9732a8e630..978f9cf410d4 100644 --- a/audio/play/Makefile +++ b/audio/play/Makefile @@ -1,24 +1,33 @@ PORTNAME= play PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= PORTS_JP -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Simple audio file player -CONFLICTS= sox +LICENSE= NONE USES= uidfix + MAKE_ARGS= CFLAGS="${CFLAGS}" MANDIR="${PREFIX}/man/ja/man" BINDIR="${PREFIX}/bin" # XXX PIE static libraries are not supported by base system /usr/share/mk MAKE_ARGS+= WITHOUT_PIE=true +CONFLICTS= sox + PLIST_FILES= bin/play man/ja/man1/play.1.gz +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: -.for file in play_audio.c mixer_ctl.c encode_sun.c encode_riff.c speed.c +.for file in play_audio.c mixer_ctl.c encode_sun.c speed.c @${REINPLACE_CMD} '/soundcard\.h/s,machine,sys,' ${WRKSRC}/${file} .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305131424.34DEOrNs001008>