pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/prngd prngd: Avoid defining own snprintf, use...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3652a3cc7c89
branches: trunk
changeset: 448214:3652a3cc7c89
user: nia <nia%pkgsrc.org@localhost>
date: Sat Mar 06 09:28:18 2021 +0000
description:
prngd: Avoid defining own snprintf, use USE_FEATURES
diffstat:
security/prngd/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 18cecfc351bf -r 3652a3cc7c89 security/prngd/Makefile
--- a/security/prngd/Makefile Sat Mar 06 09:22:44 2021 +0000
+++ b/security/prngd/Makefile Sat Mar 06 09:28:18 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2020/03/20 11:58:18 nia Exp $
+# $NetBSD: Makefile,v 1.19 2021/03/06 09:28:18 nia Exp $
DISTNAME= prngd-0.9.29
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prngd/}
@@ -24,6 +25,11 @@
LDFLAGS.SunOS+= -lsocket -lnsl
+CFLAGS+= -DHAVE_SNPRINTF
+USE_FEATURES+= snprintf
+CFLAGS+= -DHAVE_VSNPRINTF
+USE_FEATURES+= vsnprintf
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE}
Home |
Main Index |
Thread Index |
Old Index