pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/fdm



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun Mar 17 21:33:03 UTC 2019

Modified Files:
        pkgsrc/mail/fdm: Makefile

Log Message:
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++


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/mail/fdm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/fdm/Makefile
diff -u pkgsrc/mail/fdm/Makefile:1.12 pkgsrc/mail/fdm/Makefile:1.13
--- pkgsrc/mail/fdm/Makefile:1.12       Wed Feb 13 11:08:02 2019
+++ pkgsrc/mail/fdm/Makefile    Sun Mar 17 21:33:03 2019
@@ -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 @@ INSTALLATION_DIRS+=  ${EGDIR} ${DOCDIR}
 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 @@ post-install:
        cd ${WRKSRC}/examples && pax -rwpam . ${DESTDIR}${EGDIR}
        ${INSTALL_DATA} ${WRKSRC}/MANUAL ${DESTDIR}${DOCDIR}
 
-.include "../../security/openssl/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
 .include "../../databases/tdb/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index