diff options
Diffstat (limited to 'mail/nmh/Makefile')
-rw-r--r-- | mail/nmh/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index 387d2b77c24..ea798b30894 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.85 2014/09/20 23:15:03 dholland Exp $ +# $NetBSD: Makefile,v 1.86 2014/09/21 00:09:24 dholland Exp $ DISTNAME= nmh-1.6 CATEGORIES= mail @@ -77,6 +77,14 @@ CONF_FILES= # empty CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} .endfor +# The configure script checks for arc4random(), but the program uses +# arc4random_buf(); netbsd-5 (and presumably earlier) has the one but +# not the other. Just disable it, because all it's using the +# randomness for is message-ids. +.if !empty(MACHINE_PLATFORM:MNetBSD-[1-5].*-*) +CONFIGURE_ENV+= ac_cv_func_arc4random=no +.endif + post-install: ${INSTALL_DATA} ${FILESDIR}/mhn.defaults.dist \ ${DESTDIR}${EGDIR}/mhn.defaults |