diff options
author | wiz <wiz@pkgsrc.org> | 2000-05-19 23:13:52 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-05-19 23:13:52 +0000 |
commit | 2f39c2de1b2a09cd8c544f2d4ebcf0c59f98130b (patch) | |
tree | 20af6158203ae6e28a0199373d80b934cc1f631e /security/gnupg/patches | |
parent | 8abf30eb3a7ba1652d308c032ceb682fb058e07e (diff) | |
download | pkgsrc-2f39c2de1b2a09cd8c544f2d4ebcf0c59f98130b.tar.gz |
find /dev/random, and use it
Diffstat (limited to 'security/gnupg/patches')
-rw-r--r-- | security/gnupg/patches/patch-ab | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/security/gnupg/patches/patch-ab b/security/gnupg/patches/patch-ab index f9b3f324bce..0cbd585ce79 100644 --- a/security/gnupg/patches/patch-ab +++ b/security/gnupg/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.5 2000/03/02 08:21:33 wiz Exp $ +$NetBSD: patch-ab,v 1.6 2000/05/19 23:13:53 wiz Exp $ Make this work on NetBSD. For Solaris, make the DATADIRNAME share. @@ -14,17 +14,19 @@ For Solaris, make the DATADIRNAME share. CFLAGS_RDYNAMIC="" ;; -@@ -2043,6 +2043,9 @@ +@@ -2043,6 +2043,11 @@ NAME_OF_DEV_URANDOM="/dev/urandom" DYNLINK_MOD_CFLAGS="-shared -rdynamic -fpic -Wl,-Bshareable -Wl,-x" ;; + *-netbsd*) + DYNLINK_MOD_CFLAGS="-shared -rdynamic -fpic -Wl,-Bshareable -Wl,-x" ++ NAME_OF_DEV_RANDOM="/dev/random" ++ NAME_OF_DEV_URANDOM="/dev/urandom" + ;; *) NAME_OF_DEV_RANDOM="/dev/random" NAME_OF_DEV_URANDOM="/dev/urandom" -@@ -3441,7 +3444,7 @@ +@@ -3441,7 +3446,7 @@ cat conftest.$ac_ext >&5 rm -rf conftest* CATOBJEXT=.mo |