diff options
author | nia <nia@pkgsrc.org> | 2021-03-06 09:28:18 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-03-06 09:28:18 +0000 |
commit | 655c5290c2a2ec5cda19a9a1ffa78e8185afcbb6 (patch) | |
tree | acfb4630ac8db7e1506cf08408a0426609ff9c04 /security | |
parent | d25f27d7d0a80a58dc8c6e284044ce6a8aebf0e7 (diff) | |
download | pkgsrc-655c5290c2a2ec5cda19a9a1ffa78e8185afcbb6.tar.gz |
prngd: Avoid defining own snprintf, use USE_FEATURES
Diffstat (limited to 'security')
-rw-r--r-- | security/prngd/Makefile | 8 |
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} |