summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/pam_sotp/pam_sotp-0.3.3.ebuild')
-rw-r--r--sys-auth/pam_sotp/pam_sotp-0.3.3.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-auth/pam_sotp/pam_sotp-0.3.3.ebuild b/sys-auth/pam_sotp/pam_sotp-0.3.3.ebuild
index 4dff958ff..d54324c9e 100644
--- a/sys-auth/pam_sotp/pam_sotp-0.3.3.ebuild
+++ b/sys-auth/pam_sotp/pam_sotp-0.3.3.ebuild
@@ -21,7 +21,8 @@ pkg_setup() {
}
src_compile() {
- myconf=""
+ local myconf=""
+
use urandom && myconf="--with-randomdev=/dev/urandom"
econf --libdir="/$(get_libdir)" $(use_enable debug) ${myconf}
emake || die "emake failed"