git: 6298a7853eb2 - main - x11/multi-aterm: Fix build on llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 14:23:58 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6298a7853eb2b88142eddde49a1a1d7e2a3f44fe commit 6298a7853eb2b88142eddde49a1a1d7e2a3f44fe Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-05 13:43:29 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-05 14:23:45 +0000 x11/multi-aterm: Fix build on llvm15 - Add missing libraries - Adopt port --- x11/multi-aterm/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/x11/multi-aterm/Makefile b/x11/multi-aterm/Makefile index 681ddb3a7677..9f821ef7a745 100644 --- a/x11/multi-aterm/Makefile +++ b/x11/multi-aterm/Makefile @@ -1,10 +1,10 @@ PORTNAME= multi-aterm PORTVERSION= 0.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= http://www.nongnu.org/materm/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Multi terminal based on aterm WWW= https://www.nongnu.org/materm/materm.html @@ -12,7 +12,8 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe xorg -USE_XORG= xpm +USE_XORG= x11 xpm + GNU_CONFIGURE= yes CONFIGURE_ARGS=--with-xpm=${LOCALBASE} @@ -23,6 +24,10 @@ OPTIONS_DEFINE= DOCS UTMP WTMP UTMP_CONFIGURE_ON= --enable-utmp WTMP_CONFIGURE_ON= --enable-wtmp +post-patch: + ${REINPLACE_CMD} -e 's|NULL;|0;|g' \ + ${WRKSRC}/src/notebook2.c + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}