Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2023 19:35:35 GMT
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1b1a9642a2bc - main - devel/bennugd-modules: fix build with clang16, add missing USES=xorg
Message-ID:  <202309281935.38SJZZQl088914@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b1a9642a2bcb72ea37f922ce50dd71ce84ead7a

commit 1b1a9642a2bcb72ea37f922ce50dd71ce84ead7a
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2023-09-28 18:36:09 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2023-09-28 19:34:41 +0000

    devel/bennugd-modules: fix build with clang16, add missing USES=xorg
---
 devel/bennugd-modules/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/bennugd-modules/Makefile b/devel/bennugd-modules/Makefile
index 18f94edeb348..06bbb58114c0 100644
--- a/devel/bennugd-modules/Makefile
+++ b/devel/bennugd-modules/Makefile
@@ -13,14 +13,16 @@ WWW=		https://www.bennugd.org/
 LIB_DEPENDS=	libbgdrtm.so:devel/bennugd-core \
 		libpng.so:graphics/png
 
-USES=		dos2unix libtool pkgconfig sdl tar:bzip2
+USES=		dos2unix libtool pkgconfig sdl tar:bzip2 xorg
 USE_SDL=	sdl mixer
+USE_XORG=	x11
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--libdir="${PREFIX}/lib/bennugd"
 DOS2UNIX_GLOB=	*.c
 INSTALL_TARGET=	install-strip
+CFLAGS+=	-Wno-incompatible-function-pointer-types -Wno-int-conversion
 
 WRKSRC=		${WRKDIR}/bennugd/${PORTNAME}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309281935.38SJZZQl088914>