summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-03-06 09:28:18 +0000
committernia <nia@pkgsrc.org>2021-03-06 09:28:18 +0000
commit655c5290c2a2ec5cda19a9a1ffa78e8185afcbb6 (patch)
treeacfb4630ac8db7e1506cf08408a0426609ff9c04 /security
parentd25f27d7d0a80a58dc8c6e284044ce6a8aebf0e7 (diff)
downloadpkgsrc-655c5290c2a2ec5cda19a9a1ffa78e8185afcbb6.tar.gz
prngd: Avoid defining own snprintf, use USE_FEATURES
Diffstat (limited to 'security')
-rw-r--r--security/prngd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/prngd/Makefile b/security/prngd/Makefile
index e2d4a12d7a0..999634e468d 100644
--- a/security/prngd/Makefile
+++ b/security/prngd/Makefile
@@ -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 @@ SUBST_SED.path+= -e 's,/var,${VARBASE},g'
LDFLAGS.SunOS+= -lsocket -lnsl
+CFLAGS+= -DHAVE_SNPRINTF
+USE_FEATURES+= snprintf
+CFLAGS+= -DHAVE_VSNPRINTF
+USE_FEATURES+= vsnprintf
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE}