Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4F7C584E8E for ; Wed, 30 Aug 2023 17:56:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ENXS4E0Yo1Sz for ; Wed, 30 Aug 2023 17:56:20 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 9F7F284CC8 for ; Wed, 30 Aug 2023 17:56:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 93436FBDB; Wed, 30 Aug 2023 17:56:20 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_169341818067410" MIME-Version: 1.0 Date: Wed, 30 Aug 2023 17:56:20 +0000 From: "Paolo Vincenzo Olivo" Subject: CVS commit: pkgsrc/sysutils/fam To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: vins@netbsd.org X-Mailer: log_accum Message-Id: <20230830175620.93436FBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_169341818067410 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: vins Date: Wed Aug 30 17:56:20 UTC 2023 Modified Files: pkgsrc/sysutils/fam: Makefile Log Message: sysutils/fam: Linux build fix. Sun RPC support in Glibc was deprecated with version 2.32. The recommended replacement implementation for GNU/Linux is TI-RPC, available on pkgsrc as devel/libtirpc. Tested on Slackware 15.0 To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 pkgsrc/sysutils/fam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_169341818067410 Content-Disposition: inline Content-Length: 771 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/sysutils/fam/Makefile diff -u pkgsrc/sysutils/fam/Makefile:1.44 pkgsrc/sysutils/fam/Makefile:1.45 --- pkgsrc/sysutils/fam/Makefile:1.44 Thu Jan 25 10:41:37 2018 +++ pkgsrc/sysutils/fam/Makefile Wed Aug 30 17:56:20 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2018/01/25 10:41:37 jperkin Exp $ +# $NetBSD: Makefile,v 1.45 2023/08/30 17:56:20 vins Exp $ DISTNAME= fam-2.7.0 PKGREVISION= 9 @@ -54,6 +54,13 @@ MESSAGE_SRC= ${.CURDIR}/MESSAGE ${.CURD .include "../../mk/pthread.buildlink3.mk" .endif +.if ${OPSYS} == "Linux" +CPPFLAGS+= -I${PREFIX}/include/tirpc +MAKEFLAGS+= LDFLAGS="${LDFLAGS} -ltirpc" + +.include "../../devel/libtirpc/buildlink3.mk" +.endif + CPPFLAGS.Darwin+= -DNDEBUG LDFLAGS.SunOS+= -lsocket -lnsl --_----------=_169341818067410--