pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/fdm fdm: limit mremap(2) related CONFIGURE_ENV in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8f296439a9c
branches:  trunk
changeset: 331398:b8f296439a9c
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Mar 17 21:33:03 2019 +0000

description:
fdm: limit mremap(2) related CONFIGURE_ENV injection to NetBSD

mremap(2) usage is not compatible due MREMAP_MAYMOVE flag not available on
NetBSD.

While here also sort bl3 inclusion (NFC).

PKGREVISION++

diffstat:

 mail/fdm/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 3dab57327ac3 -r b8f296439a9c mail/fdm/Makefile
--- a/mail/fdm/Makefile Sun Mar 17 18:40:29 2019 +0000
+++ b/mail/fdm/Makefile Sun Mar 17 21:33:03 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2019/02/13 11:08:02 leot Exp $
+# $NetBSD: Makefile,v 1.13 2019/03/17 21:33:03 leot Exp $
 
 DISTNAME=      fdm-2.0
+PKGREVISION=   1
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nicm/}
 
@@ -16,9 +17,10 @@
 EGDIR=                 ${PREFIX}/share/examples/fdm
 DOCDIR=                        ${PREFIX}/share/doc/fdm
 
-CONFIGURE_ENV+=        ac_cv_func_mremap=no    # avoid mremap(2)
+# Avoid mremap(2) due flags not available on NetBSD
+CONFIGURE_ENV.NetBSD+= ac_cv_func_mremap=no    
 
-CFLAGS.NetBSD+=        -D_OPENBSD_SOURCE       # needed for strtonum(3)
+CFLAGS.NetBSD+=                -D_OPENBSD_SOURCE       # needed for strtonum(3)
 
 .include "options.mk"
 
@@ -29,7 +31,7 @@
        cd ${WRKSRC}/examples && pax -rwpam . ${DESTDIR}${EGDIR}
        ${INSTALL_DATA} ${WRKSRC}/MANUAL ${DESTDIR}${DOCDIR}
 
-.include "../../security/openssl/buildlink3.mk"
+.include "../../databases/tdb/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../databases/tdb/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index