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++
This commit is contained in:
parent
ae64ef6ded
commit
23ce3c60b2
1 changed files with 7 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue