git: 042d57b1eb2e - main - devel/dmucs: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 17 May 2023 04:53:21 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=042d57b1eb2ee4c4f34a4eb68276b767e9c32392

commit 042d57b1eb2ee4c4f34a4eb68276b767e9c32392
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-16 22:16:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-17 04:53:04 +0000

    devel/dmucs: Unbreak on HEAD
    
    - Pet portclippy
    - Adopt port
---
 devel/dmucs/Makefile | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/devel/dmucs/Makefile b/devel/dmucs/Makefile
index 52d1fd49bb82..e8f69f0a84a4 100644
--- a/devel/dmucs/Makefile
+++ b/devel/dmucs/Makefile
@@ -4,17 +4,29 @@ PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Distributed Multi-User Compilation System (for use with distcc)
 WWW=		http://dmucs.sourceforge.net/
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BROKEN_aarch64=		fails to compile: passing char * to parameter of incompatible type __builtin_va_list
 BROKEN_armv6=		fails to compile: passing char * to parameter of incompatible type __builtin_va_list
 BROKEN_armv7=		fails to compile: passing char * to parameter of incompatible type __builtin_va_list
-BROKEN_aarch64=		fails to compile: passing char * to parameter of incompatible type __builtin_va_list
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
 USES=	tar:bzip2
+
 GNU_CONFIGURE=	yes
+
+WRKSRC=		${WRKDIR}/${PORTNAME}
+
 PLIST_FILES=	bin/dmucs bin/gethost bin/loadavg bin/monitor bin/remhost
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CPPFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>