summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/fdm/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/fdm/Makefile b/mail/fdm/Makefile
index cae013e6ee7..efc2fad011b 100644
--- a/mail/fdm/Makefile
+++ b/mail/fdm/Makefile
@@ -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"