Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/mail/nmh/Makefile,v retrieving revision 1.88 diff -u -p -r1.88 Makefile --- Makefile 19 Aug 2015 18:23:02 -0000 1.88 +++ Makefile 20 Aug 2015 11:40:02 -0000 @@ -37,6 +37,7 @@ GNU_CONFIGURE= yes GNU_CONFIGURE_LIBDIR= ${PREFIX}/libexec/nmh CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-mts=${NMH_MTA:Q} +CONFIGURE_ARGS+= --without-readline DOCDIR= share/doc/nmh EGDIR= ${PREFIX}/share/examples/nmh @@ -76,10 +77,12 @@ CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCON .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].*-*) +# arc4random_buf(); netbsd-5 (and presumably earlier) and some Darwin +# versions 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].*-*) || \ + !empty(MACHINE_PLATFORM:MDarwin-[1-9].*-*) || \ + !empty(MACHINE_PLATFORM:MDarwin-1[0-2].*-*) CONFIGURE_ENV+= ac_cv_func_arc4random=no .endif