1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

audio/asunder: Fix build with llvm15

- Pet portclippy
- Add missing LIB_DEPENDS

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2023-06-04 14:33:12 +02:00
parent b17f1122ce
commit db53b5afcb

View File

@ -1,6 +1,6 @@
PORTNAME= asunder
PORTVERSION= 2.9.6
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://littlesvr.ca/asunder/releases/
@ -13,31 +13,39 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcddb.so:audio/libcddb \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz
RUN_DEPENDS= ${LOCALBASE}/bin/cdparanoia:audio/cdparanoia
USES= compiler:c11 desktop-file-utils gettext gmake gnome pkgconfig \
tar:bzip2
USE_GNOME= cairo gdkpixbuf2 gtk20 glib20 intltool intlhack
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO
OPTIONS_DEFINE= LAME OGG FLAC OPUS WAVPACK APE WINDOWS_CHARS NLS DOCS
OPTIONS_DEFAULT= OGG FLAC
OPTIONS_SUB= yes
WINDOWS_CHARS_DESC= Allow Windows special chars in filenames
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO
LAME_RUN_DEPENDS= lame:audio/lame
OGG_RUN_DEPENDS= oggenc:audio/vorbis-tools
APE_RUN_DEPENDS= mac:audio/mac
FLAC_RUN_DEPENDS= flac:audio/flac
LAME_RUN_DEPENDS= lame:audio/lame
NLS_CONFIGURE_ENABLE= yes
OGG_RUN_DEPENDS= oggenc:audio/vorbis-tools
OPUS_RUN_DEPENDS= opusenc:audio/opus-tools
WAVPACK_RUN_DEPENDS= wavpack:audio/wavpack
APE_RUN_DEPENDS= mac:audio/mac
NLS_CONFIGURE_ENABLE= yes
post-patch:
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
post-patch-WINDOWS_CHARS-on:
@${REINPLACE_CMD} -e 's^#define[[:blank:]]*BADCHARS.*^#define BADCHARS "/"^' ${WRKSRC}/src/util.h
@ -45,4 +53,4 @@ post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
.include <bsd.port.post.mk>