From nobody Thu Jul 20 10:22:55 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 4R680F4pZZz4ndC4; Thu, 20 Jul 2023 10:23:09 +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 4R67zz3lMgz4Nyh; Thu, 20 Jul 2023 10:22:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689848575; 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=xNBuFfZoyYFY+OK5T4o3Q8VK4yZIr7QHiqlIndLRDMY=; b=aOcwNTBqDPh5vlPuz3qLvV1Dj7kALEcLM7s0mDRs37AgfjH9lsDhuy1pjgjKe5AgMGHN+p /gjeDABVBrqxjzDa39qPl6dt7c1jr3IFRxNxPG3rFMkan84kW1scWvFtY9HK87J74Qq/2h XSCIDizTfm/qCCvZFjuVcfhlgy+0uJqKYEYmjvNj3HMkqLyx1bhOEFX9/bn8VXo4kyNX56 BTIku35WPNDBezoAQuFpCoQ3Jp7v/XrAf2t4AhHAFiYefI6Cm3XCLFsYzkcZDzGnvsRI1a ZK1cE1VuOzpsz00NS9g1ouLOsztP1vPqXODpn0cR4KMQDV/h430RAldDztAiVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689848575; 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=xNBuFfZoyYFY+OK5T4o3Q8VK4yZIr7QHiqlIndLRDMY=; b=Ep3pp4Kk8STjRkqP+DOadIhwrXqSfFNKvalc0D9drHqgE5uDQQsQKfcpNAkztNh965vP3C LbXl5g/CbliZSI0kw3dW0AbyXYUdIzpgXdJzZaYl9P1t6GUIbYA5HuSPc76rSDXvxL2LQz 3+wNQUkGmglCb38Df5x+ufFMj3GnY9rX+PHEkBdw6GCjpE7ebzLhqzNCowIEqcny90VLQv qORh55UBqZ4MeXC5CH6pPwOKxImMkUtTtcMieJU4sJWxa1277vGJG6mOfQ/0lA4lV9Xzjs p1zu97V+p3GxAlSDQkqMt+4gTJz9AE4q6ByNCzjTAIpdux5OZ5OYbQAltivnQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689848575; a=rsa-sha256; cv=none; b=Nd8KbyZRWskgCPUpjjr5wAAyXJH8alkiS4vprSnGGnU9olmaC4emMdvrWU6bGONJITOyCJ PGnBszcsKRYtRUXwQmLVZijQgURWQX3TxTqjXZj7XkfSETjqbxvKsEjGkWDBCIzcB5myWp SC6vqcuB1KFWFR91Zen5fq/Q6/R0AiO26PKlox4Ca8kQvIGB8HxS0AEniM4+6WnTe/raNV ZCcvYFQhHMS9U59TIP2HYXBb86D7As/lq2AUrcfMcWsekgv+kYsj1ERSQV+hjxdd2kY7J/ 1sx77XCMV65hzSkmGyW2zML+9K6b27TE1T8HHJgSctWjxob+RDJbE1xlnKypoQ== 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 4R67zz2dTXzRvL; Thu, 20 Jul 2023 10:22:55 +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 36KAMtHa007331; Thu, 20 Jul 2023 10:22:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36KAMtpD007330; Thu, 20 Jul 2023 10:22:55 GMT (envelope-from git) Date: Thu, 20 Jul 2023 10:22:55 GMT Message-Id: <202307201022.36KAMtpD007330@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: 91b8d4c1e54e - main - net/yptransitd: 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: 91b8d4c1e54e9592408c05ce2aec2311933e7928 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=91b8d4c1e54e9592408c05ce2aec2311933e7928 commit 91b8d4c1e54e9592408c05ce2aec2311933e7928 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-20 09:36:03 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-20 10:22:39 +0000 net/yptransitd: Fix build with llvm16 - Pet portclippy - Adopt port Sponsored by: The FreeBSD Foundation --- net/yptransitd/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/net/yptransitd/Makefile b/net/yptransitd/Makefile index 3164fd39d11c..c4844f88e880 100644 --- a/net/yptransitd/Makefile +++ b/net/yptransitd/Makefile @@ -4,7 +4,7 @@ PORTREVISION= 8 CATEGORIES= net MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Replacement for nss_ldap WWW= http://yptransitd.sourceforge.net/ @@ -12,14 +12,22 @@ LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= ldap bison +USE_LDCONFIG= yes + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ldap-prefix=${LOCALBASE} -USE_LDCONFIG= yes + MAKE_JOBS_UNSAFE= yes PLIST_FILES= %%ETCDIR%%/ldap.conf %%ETCDIR%%/modules/ldap.so \ %%ETCDIR%%/yptransitd.conf sbin/yptransitd +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e 's, \($$([A-Z]*DIR)\), $${DESTDIR}\1,g' \ ${WRKSRC}/Makefile.in