Import of pkgsrc-2015Q3
This commit is contained in:
+10
-9
@@ -1,17 +1,15 @@
|
||||
# $NetBSD: Makefile,v 1.86 2014/09/21 00:09:24 dholland Exp $
|
||||
# $NetBSD: Makefile,v 1.90 2015/08/26 12:44:30 leot Exp $
|
||||
|
||||
DISTNAME= nmh-1.6
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/nmh/
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 3
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
MAINTAINER= leot@NetBSD.org
|
||||
HOMEPAGE= http://www.nongnu.org/nmh/
|
||||
COMMENT= Cleaned up MH mailer suite
|
||||
LICENSE= modified-bsd
|
||||
|
||||
MAKE_JOBS_SAFE= no
|
||||
|
||||
CONFLICTS= ja-mh-[0-9]*
|
||||
CONFLICTS+= ja-mh6-[0-9]*
|
||||
|
||||
@@ -39,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
|
||||
@@ -78,10 +77,12 @@ 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].*-*)
|
||||
# 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user