diff options
author | leot <leot@pkgsrc.org> | 2019-03-17 21:33:03 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2019-03-17 21:33:03 +0000 |
commit | 1be47162720d77f84f16f0e7616659822c80eed3 (patch) | |
tree | 1a38fe12d9286326864d0d7a73dd924582dc0988 /mail | |
parent | 6acb706beabc0db225516082d7af9e9d6edfa7d0 (diff) | |
download | pkgsrc-1be47162720d77f84f16f0e7616659822c80eed3.tar.gz |
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 (limited to 'mail')
-rw-r--r-- | mail/fdm/Makefile | 12 |
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" |