pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/prngd



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Mar  6 09:28:18 UTC 2021

Modified Files:
        pkgsrc/security/prngd: Makefile

Log Message:
prngd: Avoid defining own snprintf, use USE_FEATURES


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/security/prngd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/prngd/Makefile
diff -u pkgsrc/security/prngd/Makefile:1.18 pkgsrc/security/prngd/Makefile:1.19
--- pkgsrc/security/prngd/Makefile:1.18 Fri Mar 20 11:58:18 2020
+++ pkgsrc/security/prngd/Makefile      Sat Mar  6 09:28:18 2021
@@ -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}
 



Home | Main Index | Thread Index | Old Index