From nobody Sun May 14 19:59:21 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QKCy12WJ9z4C4Gp; Sun, 14 May 2023 19:59:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QKCy123s5z3kZK; Sun, 14 May 2023 19:59:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684094361; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=508+lKCxKnmIPjacRE8bkGOFUrSOHuZYmJ7rfEetiMM=; b=bQ2d6gj6k+8cez1KUetIzWs2ug0cW5uQvxiqJYDUjo5AMa9MOkKktUCtwtEZStLzyga7JZ BUI92tE9DwgsZP1EXA+jed3xogbC04potvPjtiSFuPaz7VpbXQt+cgkPNJObn3jklsyoW0 D8bpmR6eH9/r+6X6oSW9x9IOxUM9knQnZCUpNK3kKk9tKb37P5GTKXcaxcXk24fBMSRe3+ MS6XIhB7MRgxnV0LgylIFgW9EbFrmuyxH96oYDG3ZqHiha21uSbSnBERobo+KCpWzKt36O veh7cOfMTpIWyCTixva8UqHl92WtKDo6BiKVFe/O41CHlI/kUFi++u8cdN7+gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684094361; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=508+lKCxKnmIPjacRE8bkGOFUrSOHuZYmJ7rfEetiMM=; b=ZPj16iNweqoBVfBwJK6xSyYO862q3YdbIbQACFq9K7d8oWMYC6kxWht+YmEQ/6AdLD3brK F68TOHWwCES92GBIujLu7YsACsTwO1pD1MgyXbhXBu1g8xxELjZlU0dw7k3q0uU/vNTPU8 NV7dgKi2lGhIhTGnHQQwomhpnNeI3GgmEIQy2MwRqEq/CPzyK1eKZGUgoUbJe8lGZzhk5O lwdpmQr8zU4RWGcHjp+ffp1G4CP3D9szUxR271X9RcETQYnSJNe4zF/+H9sPuu+3Ob/yTy gOGMeryPAUjaEkQs0Hzx4zwPH9WtYigkVEcDrynOF3s37I0OJEwkanNT6tnQRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684094361; a=rsa-sha256; cv=none; b=Mw1rpVDg7AhOfzEoyl/oNUwjLeZPtTkJcWCqQ1BCVZLeKOCddpxrHycFSrhA5myAESHmrs Szez2T+6+qa456tpzGYMgFBUISYney4dbqesMXIjHKj5bRt07efccfpRlFxdlkpYOW9P6j ALPzHYbpDh8Y0TBRloUE9MYMedUxwPSYj4nxwiE3y2RxpfBjj668cQnOxbrm8K0i1lPUxg FFPr1/mZrkVu0g75sMNT6sRjFkrKe58Q+yJ1ZQ/xUjHNn7Siae6Hx31vbUWInAZdqQw5wY 8O8tvheoNRQRv0BPI5AVfInyALziLX4GM7DBo7Se70xpk5KAO2ykqsCjKHuruw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QKCy1199kz1B0H; Sun, 14 May 2023 19:59:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34EJxLCN016273; Sun, 14 May 2023 19:59:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34EJxLEb016272; Sun, 14 May 2023 19:59:21 GMT (envelope-from git) Date: Sun, 14 May 2023 19:59:21 GMT Message-Id: <202305141959.34EJxLEb016272@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 3c4254f93f4a - main - mail/hbiff: Unbreak on HEAD List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3c4254f93f4af3fcd8e7b8ff2345272ad0c2d5bf Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c4254f93f4af3fcd8e7b8ff2345272ad0c2d5bf commit 3c4254f93f4af3fcd8e7b8ff2345272ad0c2d5bf Author: Muhammad Moinur Rahman AuthorDate: 2023-05-14 18:42:34 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-05-14 19:59:09 +0000 mail/hbiff: Unbreak on HEAD - Pet portclippy - Refactor with USES=loccalbase - Adopt port --- mail/hbiff/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/mail/hbiff/Makefile b/mail/hbiff/Makefile index a18c8bc4d636..b8151ac8d443 100644 --- a/mail/hbiff/Makefile +++ b/mail/hbiff/Makefile @@ -5,17 +5,23 @@ CATEGORIES= mail MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/misc/ \ LOCAL/obrien -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Replacement for xbiff that handles popup window with mail headers -USES= xorg +USES= localbase xorg USE_XORG= x11 -CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +CFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -lX11 PLIST_FILES= bin/hbiff man/man1/hbiff.1.gz +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion +.endif + do-build: ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/hbiff.c -o ${WRKSRC}/${PORTNAME} @@ -23,4 +29,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.include +.include