mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
audio/snack: Fix build with llvm16
- Add Missing DEPENDS reported by poudriere testport - Pet portclippy Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
fc66d1726d
commit
91147ff9ec
@ -12,12 +12,17 @@ WWW= https://www.speech.kth.se/snack/
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/../COPYING
|
||||
|
||||
USES= tk:tea
|
||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2
|
||||
|
||||
USES= tk:tea xorg
|
||||
USE_LDCONFIG= ${PREFIX}/lib/snack${PORTVERSION:R}
|
||||
USE_XORG= x11 xscrnsaver xext xft xrender
|
||||
|
||||
MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX}
|
||||
|
||||
WRKSRC_SUBDIR= unix
|
||||
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
WRKSRC_SUBDIR= unix
|
||||
|
||||
PLIST_SUB= SNACK_VER=${PORTVERSION:R}
|
||||
PORTDOCS= *
|
||||
@ -30,6 +35,12 @@ VORBIS_CONFIGURE_ON= --with-ogg-include=${LOCALBASE}/include \
|
||||
--with-ogg-lib=${LOCALBASE}/lib
|
||||
VORBIS_ALL_TARGET= all libsnackogg.so
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/snack${PORTVERSION:R}/*.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user