From nobody Thu Jul 20 17:43:29 2023 X-Original-To: dev-commits-ports-main@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 4R6Kmc31x5z4nSjp; Thu, 20 Jul 2023 17:43:30 +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 4R6KmK6r78z3N2B; Thu, 20 Jul 2023 17:43:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689875010; 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=x3QD1+flFkLSrDw7HIbLfyUMypLiMEYesaMgBRvxXRM=; b=GI/NAIzFCX8wyZLgSWYp9wR2B8JDg3rz+SaqDdYqVyTGUL1+IOPU3ARZNJxkiDapOL0bmR dU3LE6xI9Edw3LUDELixZ+svWymqtjCIZiR0HW/GcS5Z7gQHQ4fmaW12O+pFN8lmlUc9WH 1dQCGm9KQOUIa8TELqHWmNtTUxw94UCxk9mG3ssapZZ9Lx4C/AreaW+BLQhvbgCCWx6GYg ukOcvuGXkaqikUgcv8TKOy7PznGQtSoavRz3D4U98qBlcrSMfpCN9nfI/zYexv/EcX27yd IaIWVlafYD4RkYxFNpnlL+VBg5fM8Gsr02dRtYijR4QvN8VrHO5QMM3Pd2JGQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689875010; 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=x3QD1+flFkLSrDw7HIbLfyUMypLiMEYesaMgBRvxXRM=; b=rdBguo0k6o2Y4LzAyRpqbrkY+VrN6EgR6oSLWjHB5tvsHnlBvgHS9tAV0pFvgiq/hyObdC JtKHxMnH90VtAoQadZsdjt/uf8+IyainAAS5yhdLf23TzeJO6cbZDaPt1NZZbrAh2HobCX yCWukDTpn2R9fHXlO0osWJN4p6Bc/L0hreCk8wXLWITxCLFLjxI1cNYKpxOF8lv7fN6vs4 tPwo8j0WNqvcbqMjMD4mz9vl49XYTM2iOYq5xFB5NYr3u5RiTF8miqKV+lOSlbIO14P5zE QnbIX7sIpMVrTucF82ImkO+yM3JT+AWlDLhP1aGAhp84fTAhY5hoV6vAVdU4Wg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689875010; a=rsa-sha256; cv=none; b=ASX9H8KIwdYVK9+P5eSHylAa8XGPGcMrRZjzafLJooEVTIw2/QbrV9iHg2ZfpNn7bLQvBm XQIJX/YI1/t2Ak5hNnTqW94uSNncY61Xd243dpOS4WBZpTz6CUmRu/v87BuH5lFKb5uOdI L7l+cI8TtC69s8vt4D5mNty38njZd8S7V7S35XX5q9Fbaml5GAzp068zF113OtLMmde/Kh M0ATqVqmtI/4AEtYvW3/4oflngvKt/F8ThO49gjCltMmLa/WVt67NDnIr0rT0WsVccXJK1 5dZgKi4Rvt45uIKrMrFoeBDmeRlBW2y08CNa+t4Vpnpl864JhNKwiWNQUbbTAg== 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 4R6KmK5phDzgWQ; Thu, 20 Jul 2023 17:43:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36KHhTN4036787; Thu, 20 Jul 2023 17:43:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36KHhTEv036786; Thu, 20 Jul 2023 17:43:29 GMT (envelope-from git) Date: Thu, 20 Jul 2023 17:43:29 GMT Message-Id: <202307201743.36KHhTEv036786@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: 29a4848a5eb3 - main - net/afpfs-ng: Fix build with llvm16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 29a4848a5eb3435bbcddb9da7a65c91358e46e3d Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=29a4848a5eb3435bbcddb9da7a65c91358e46e3d commit 29a4848a5eb3435bbcddb9da7a65c91358e46e3d Author: Muhammad Moinur Rahman AuthorDate: 2023-07-20 15:45:51 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-20 17:42:37 +0000 net/afpfs-ng: Fix build with llvm16 - Utilize OPTIONS_SUB and move PLIST_FILES to pkg-plist - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net/afpfs-ng/Makefile | 19 ++++++++++--------- net/afpfs-ng/pkg-plist | 23 +++++++++++++++-------- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/net/afpfs-ng/Makefile b/net/afpfs-ng/Makefile index 0476ef54e02d..8e62727d885a 100644 --- a/net/afpfs-ng/Makefile +++ b/net/afpfs-ng/Makefile @@ -10,29 +10,30 @@ WWW= https://sourceforge.net/projects/afpfs-ng/ LICENSE= GPLv2 +USES= autoreconf gmake iconv libtool localbase readline shebangfix tar:bzip2 +USE_LDCONFIG= yes + +SHEBANG_FILES= fuse/afpfs + GNU_CONFIGURE= yes + INSTALL_TARGET= install-strip -USES= autoreconf gmake iconv libtool readline tar:bzip2 -USE_LDCONFIG= yes CFLAGS+= -Wno-return-type -CPPFLAGS+= -D_FILE_OFFSET_BITS=64 -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib +CPPFLAGS+= -D_FILE_OFFSET_BITS=64 OPTIONS_DEFINE= FUSE GCRYPT +OPTIONS_SUB= yes FUSE_LIB_DEPENDS= libfuse.so:sysutils/fusefs-libs FUSE_CONFIGURE_ENABLE= fuse - GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CONFIGURE_ENABLE=gcrypt .include -.if ${PORT_OPTIONS:MFUSE} -PLIST_FILES+= bin/afp_client bin/afpfs bin/afpfsd bin/mount_afp \ - man/man1/afp_client.1.gz man/man1/afpfsd.1.gz \ - man/man1/mount_afp.1.gz +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-configure: diff --git a/net/afpfs-ng/pkg-plist b/net/afpfs-ng/pkg-plist index 6b69d6e01c9e..80206ca93609 100644 --- a/net/afpfs-ng/pkg-plist +++ b/net/afpfs-ng/pkg-plist @@ -1,17 +1,24 @@ -lib/libafpclient.a -lib/libafpclient.so -lib/libafpclient.so.0 -lib/libafpclient.so.0.0.0 +%%FUSE%%bin/afp_client bin/afpcmd +%%FUSE%%bin/afpfs +%%FUSE%%bin/afpfsd bin/afpgetstatus -include/afpfs-ng/dsi.h +%%FUSE%%bin/mount_afp +include/afpfs-ng/afp.h include/afpfs-ng/afp_protocol.h -include/afpfs-ng/map_def.h include/afpfs-ng/codepage.h -include/afpfs-ng/midlevel.h +include/afpfs-ng/dsi.h include/afpfs-ng/libafpclient.h +include/afpfs-ng/map_def.h +include/afpfs-ng/midlevel.h include/afpfs-ng/uams_def.h -include/afpfs-ng/afp.h include/afpfs-ng/utils.h +lib/libafpclient.a +lib/libafpclient.so +lib/libafpclient.so.0 +lib/libafpclient.so.0.0.0 +%%FUSE%%man/man1/afp_client.1.gz man/man1/afpcmd.1.gz +%%FUSE%%man/man1/afpfsd.1.gz man/man1/afpgetstatus.1.gz +%%FUSE%%man/man1/mount_afp.1.gz