Add a temporary workaround for missing vfork on IRIX.

Fixes PR 38674, tested by tnn@.
This commit is contained in:
joerg 2008-07-13 14:25:04 +00:00
parent 594a837d0b
commit 5664f05a84
4 changed files with 17 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2008/05/25 19:50:05 joerg Exp $
# $NetBSD: Makefile,v 1.9 2008/07/13 14:25:04 joerg Exp $
#
DISTNAME= bsdtar-2.5.4b
@ -61,4 +61,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bsdtar ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tar/bsdtar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../archivers/libarchive/hacks.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2008/05/25 19:50:05 joerg Exp $
# $NetBSD: Makefile,v 1.27 2008/07/13 14:25:04 joerg Exp $
#
DISTNAME= libarchive-2.5.4b
@ -22,6 +22,8 @@ CONFIGURE_ARGS+= --disable-bsdtar
do-extract:
${CP} -r ${FILESDIR} ${WRKSRC}
.include "../../archivers/libarchive/hacks.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,8 @@
# $NetBSD: hacks.mk,v 1.1 2008/07/13 14:25:04 joerg Exp $
.include "../../mk/bsd.prefs.mk"
.if !empty(OPSYS:MIRIX*)
CPPFLAGS+= -Dvfork=fork
CONFIGURE_ENV+= ac_cv_func_vfork=yes
.endif

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.156 2008/06/22 22:08:05 joerg Exp $
# $NetBSD: Makefile,v 1.157 2008/07/13 14:25:05 joerg Exp $
# Notes to package maintainers:
#
@ -175,4 +175,6 @@ update:
${MAKE} ${UPDATE_TARGET}
${MAKE} clean
.include "../../archivers/libarchive/hacks.mk"
.include "../../mk/bsd.pkg.mk"