pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/fam
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.
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
Home |
Main Index |
Thread Index |
Old Index